Commit Graph

906 Commits

Author SHA1 Message Date
Mats Palmgren
6cda75700f Bug 1405443 - Don't delete next-in-flows when the state IsInlineBreakBefore. r=dholbert
MozReview-Commit-ID: vCqhHFsXUO
2017-10-06 20:59:09 +02:00
Emilio Cobos Álvarez
6c660646ad Bug 1324684: Remove stale crashtest annotations. r=me
MozReview-Commit-ID: 4wwGkefTWC3
2017-10-04 11:38:12 +02:00
Boris Zbarsky
4f26cd362a Bug 1402766. Work around layout violating its own invariants and causing stylo code to crash. r=emilio
MozReview-Commit-ID: 3ggJI0qmOJV
2017-10-03 18:50:10 -04:00
Wes Kocher
253017b382 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9qR4QYHAi2x
2017-09-28 17:08:09 -07:00
Xidorn Quan
75f4e122c9 Bug 1401420 part 5 - Add crashtest for this bug. r=dholbert
MozReview-Commit-ID: 6U9aUdoj4n9

--HG--
extra : source : 163fe606a34732b4347e56ba15d9d637d63bde10
2017-09-29 08:36:36 +10:00
Ting-Yu Lin
569e748c2f Bug 1401807 Part 2 - Add a crashtest. r=dholbert
MozReview-Commit-ID: 18oPdP1OplJ

--HG--
extra : rebase_source : 18452a683a1dfbcf612778da1287815553db8d20
2017-09-27 23:12:55 +08:00
Kevin Hsieh
f7dc9cf879 Bug 1401709 - Do attach base line layout to orthogonal rtc. r=xidorn
MozReview-Commit-ID: JCgaXWD43m5

--HG--
extra : rebase_source : b0c4503315ddef1190897313e990c7e971cbe253
2017-09-21 19:36:12 -07:00
Manish Goregaokar
7960cd0a4d Bug 1397363 - stylo: Update crashtest expectations; r=orange
MozReview-Commit-ID: 6yYiGcZ7n3E
2017-09-06 23:24:53 -07:00
Emilio Cobos Álvarez
8b193459d8 Bug 1389743: Update expected assertion count in layout/generic/crashtests/1059138-1.html. rs=heycam
MozReview-Commit-ID: IeyIi9Q53JZ
2017-08-23 12:54:22 +02:00
J. Ryan Stinnett
11508b0f88 Bug 1385027 - Update Stylo test annotations for Windows. r=manishearth
MozReview-Commit-ID: 7FPPAga0jgW

--HG--
extra : rebase_source : 5fe4189caf99b23e56cf87f6ebaea332058a3e80
2017-08-01 16:32:48 -05:00
Carsten "Tomcat" Book
892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Manish Goregaokar
e632c1393e Bug 1383492: stylo: Change nscoord_MAX to 1<<30 - 1 ; r=emilio,dbaron
nscoord_MAX is (1<<30) so that we can check for overflow *after* adding
two nscoords. However, (nscoord_MAX + nscoord_MAX) will still overflow.
Subtracting one makes this no longer possible.

MozReview-Commit-ID: BtbQRMp5kWm
2017-07-27 18:57:32 -07:00
Daniel Holbert
764274fe30 Bug 1059138: add this bug's testcase as a crashtest. (no review, test-only)
This bug report became semi-obsolete after we restructured the way flex items
are reordered for the CSS 'order' property. I'm adding its testcase as a
crashtest for good measure & for regression-testing.

MozReview-Commit-ID: 9ytJymbxZx
2017-07-27 15:32:33 -07:00
Daniel Holbert
442d7cef56 Bug 876749: Remove stale asserts(0-5) annotation for crashtest that doesn't assert anymore. (no review)
I believe crashtest 876074-1.html stopped asserting (about flex item frame-list
sortedness) once we stopped reordering the flex item child-list, in bug 812687.
So we don't need this asserts() annotation anymore.

MozReview-Commit-ID: BlMoFnkLQeU
2017-07-27 12:38:16 -07:00
J. Ryan Stinnett
c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Tobias Schneider
3880ddff03 Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron
--HG--
extra : rebase_source : c4e47e2de8d615c77e7e9ce88f6b21c9d15c92e4
2017-07-26 22:53:46 -07:00
Yoshi Huang
7036b3761f Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
Xidorn Quan
2b1d414ed0 Bug 1364274 part 3 - Adjust test expectation. r=heycam
MozReview-Commit-ID: GagkRtB8PGv

--HG--
extra : rebase_source : beb99889b8f8c10dda6a95bd9ae45d0bbe789d86
2017-07-05 14:08:45 +10:00
Xidorn Quan
4c45d7e560 Bug 1308876 - Add crashtest that used to hang Firefox. r=dholbert
MozReview-Commit-ID: 2ZCrhcV5i2G
2017-07-12 19:37:13 -07:00
L. David Baron
6edf234e49 Bug 1308876 - Mark child frames as dirty before starting reflow of the parent, so that if we reflow a child twice, it's only dirty the first time. r=dholbert
This is the primary patch in this bug, and makes the performance
improvement that fixes this bug.

The assertion count increase for layout/generic/crashtests/1015844.html
is accompanied by a layout change in the testcase as well.  However, I'm
not planning to fix it in this sequence; fundamentally columnsets with
specified heights inside a paginated context (like another columnset) do
not work in any reasonable way, and changing the number of times we
reflow them can change the layout.  At least, assuming I didn't lose
something in the process of simplifying the testcase.

ISSUES:
 - may make block inside XUL worse in performance by marking dirty more (see subdoc in Firefox UI, or text control innards?)

MozReview-Commit-ID: GdOvPynqcFP
2017-07-12 19:37:12 -07:00
L. David Baron
57af4c8b58 Bug 1308876 - Remove assertion that starts firing more when we mark frames dirty less and thus call PrepareResizeReflow more. r=mats
This fires, for example, in layout/base/crashtests/265973-1.html (and a
number of other tests, I believe) with the primary patch in this bug.
This is because the primary patch causes frames to be dirty less often,
which sends us into the PrepareResizeReflow codepath, which only happens
when frames are not dirty.

I don't think NS_CoordSaturatingAdd is needed here, since newAvailISize
is used only when deciding whether or not lines need reflow; wraparound
should only cause us to do a little extra work.

Note: This patch passes try on its own, on Linux64 debug.

MozReview-Commit-ID: K6Z5MvG7awp
2017-07-12 19:37:12 -07:00
Xidorn Quan
8c47606640 Bug 1369985 - Look for text run boundary based on transformed text when needed. r=jfkthame
MozReview-Commit-ID: 9wJXia7LBpO

--HG--
extra : rebase_source : 8727d7aa84147d64ab2c5a08d965220acd38fe9e
2017-06-18 11:18:32 +10:00
Bobby Holley
a123d7939a Bug 1341102 - Continue zeroing in on the actual leaking crashtest. r=me
MozReview-Commit-ID: JK5n78QYDXR
2017-06-16 21:58:20 -07:00
Bobby Holley
4bc976bba2 Bug 1341102 - disable two crashtests on stylo for leaks. r=me
MozReview-Commit-ID: 2AMV3sAWwiT
2017-06-16 17:01:06 -07:00
Cameron McCormack
c24e9eb9e7 Bug 1364361 - Part 4: Add crashtest for a scrollable, multicol <details> element. r=bz
MozReview-Commit-ID: LtMSemTadR0

--HG--
extra : rebase_source : 18295cd6c125e3d30ad8aa0351e5a449a905aac7
2017-06-16 17:22:34 +08:00
Sebastian Hengst
18f74a4448 Backed out changeset a05d5d6c04dc (bug 1364361) 2017-06-16 11:18:18 +02:00
Cameron McCormack
52a081595f Bug 1364361 - Part 4: Add crashtest for a scrollable, multicol <details> element. r=bz
MozReview-Commit-ID: LtMSemTadR0

--HG--
extra : rebase_source : cb3f8c082e34a90226aa6bbd050a5423776dbf83
2017-06-16 15:37:10 +08:00
Sebastian Hengst
8f8ae2a3b8 Backed out changeset 9cff9f4e2ef2 (bug 1364361) 2017-06-16 09:27:05 +02:00
Cameron McCormack
b20e975f7a Bug 1364361 - Part 4: Add crashtest for a scrollable, multicol <details> element. r=bz
MozReview-Commit-ID: LtMSemTadR0

--HG--
extra : rebase_source : 83d5d2461c782ee5a19016cd306106533d7bc8a8
2017-05-22 10:17:58 +08:00
Ting-Yu Lin
83b30c2642 Bug 1371577 - stylo: Update test expectations after fixing pseudo element matching for XBL stylesheets. r=emilio
MozReview-Commit-ID: 39h2kZHww4k

--HG--
extra : rebase_source : 4c94d5addeb3fe69049fd4942db86d73224a1bd0
2017-06-14 16:45:46 +08:00
Cameron McCormack
1d96e58226 Bug 1338007 - Remove comments from already re-enabled tests. r=me (DONTBUILD)
MozReview-Commit-ID: 7SLfxxFVdv2
2017-06-11 12:32:43 +08:00
Ting-Yu Lin
2923be5074 Bug 1290276 Part 8 - Update test expectations after implementing XBL <stylesheet> for stylo. r=heycam
Disable 461917-1.xhtml under dom/xul/crashtests/ because I cannot reproduce
it locally.

Annotate assert-if on some crashtests (bug 1370830). Other modifications are
all removal of fails-if.

MozReview-Commit-ID: 6Q2A5M5rOry

--HG--
extra : rebase_source : b282a919fcda6287fe2eaa6b139a11f2663ad578
2017-05-31 16:44:38 -07:00
Cameron McCormack
d790c15258 Bug 1368617 - Ensure continuing text frames for floating ::first-letters will inherit from a ::first-line. r=dbaron
MozReview-Commit-ID: 4plrZYMZ8S4

--HG--
extra : rebase_source : d7d03d8f61060f019a574e1c4c126a9c238f8a5f
2017-06-02 16:49:56 +08:00
L. David Baron
9d25ba2b78 Bug 1367413 - Fix assertion that can occur when paginating abs-pos elements with a transform. r=mats
I confirmed that the test crashes in the crashtest harness without the
patch (although the harness doesn't exit!), whereas it passes with the
patch.

MozReview-Commit-ID: 37S6i1kvw37

--HG--
extra : transplant_source : %9F%A91%90%3F%93%1F%E5%B3%ACHf%8C%BD%BA%C9%12%97%83I
2017-05-25 16:21:20 -04:00
Mats Palmgren
297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
1bdc87018b Merge mozilla-central to autoland
--HG--
extra : rebase_source : 4e9c2047973e5a540496b19e456a2e7bd14715ad
2017-05-22 15:48:11 +02:00
Carsten "Tomcat" Book
00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren
e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
2a6d28c4ab Merge mozilla-central to autoland 2017-05-22 13:08:46 +02:00
Hiroyuki Ikezoe
fd65caccea Bug 1355402 - Update test expectations for -moz-{min,max,fit}-content,available}. r=manishearth
MozReview-Commit-ID: HxjE9ArYuys
2017-05-20 12:14:32 +09:00
Hiroyuki Ikezoe
93e3eef4cb Bug 1341102 - Update test expecrations. r=me
https://github.com/servo/app_units/pull/26#issuecomment-301931183
2017-05-20 15:26:55 +09:00
Xidorn Quan
78e3ce7db1 Bug 1328319 part 10 - Update test expectations. r=heycam
MozReview-Commit-ID: AnE2ArU45Ru

--HG--
extra : rebase_source : 952f4be54a3b163645dbead0eff649dc97eae1c7
2017-05-10 12:43:49 +10:00
Nazım Can Altınova
19a0e93729 Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN

--HG--
rename : layout/reftests/css-gradients/aja-linear-2a.html => layout/reftests/css-gradients/aja-linear-2.html
extra : rebase_source : 9c1869bddf2068cf68666e0815b8f9d9424fe76a
2017-04-24 15:54:51 +03:00
Sebastian Hengst
feb6f6c577 Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout
--HG--
rename : layout/reftests/css-gradients/aja-linear-2.html => layout/reftests/css-gradients/aja-linear-2a.html
2017-05-15 00:18:47 +02:00
Nazım Can Altınova
d8be7ab275 Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN

--HG--
rename : layout/reftests/css-gradients/aja-linear-2a.html => layout/reftests/css-gradients/aja-linear-2.html
extra : rebase_source : 7b1ae51a435fae3782a03046ce21474b9a149f1a
2017-04-24 15:54:51 +03:00
Cameron McCormack
203bdaed3b Bug 1361235 - Part 2: Re-enable some tests. r=emilio
MozReview-Commit-ID: 76FaOwHjIMB

--HG--
extra : rebase_source : e2e36bd8a6b86761fe616d7c30d8df7b661a4e09
2017-05-11 19:19:52 +08:00
Ting-Yu Lin
918033ba12 Bug 1321754 Part 2 - Update reftest and crashtest expectations for stylo. r=heycam
MozReview-Commit-ID: AunZ2DE209M

--HG--
extra : rebase_source : 4a091cd55581039c8d81f4db9bfbe2af8c0d0863
2017-04-28 14:53:16 +08:00
Emilio Cobos Álvarez
45df902a41 Bug 1360508: Test expectation updates. r=emilio
MozReview-Commit-ID: KN99kqljqYj
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-28 20:19:15 +02:00
Cameron McCormack
c9e89efdd7 Bug 1341102 - stylo test expectation adjustments. r=me 2017-04-28 11:42:16 +08:00
J. Ryan Stinnett
417b2f5faa Bug 1359603 - Update test expectations. r=me
MozReview-Commit-ID: 900CmDa2JcE
2017-04-27 13:01:28 -05:00
Manish Goregaokar
ff68276c10 Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-21 15:40:49 -07:00
Carsten "Tomcat" Book
d32c8f24cc Backed out changeset 49c8dc08ff64 (bug 1349417) 2017-04-19 08:31:48 +02:00
Manish Goregaokar
f1cf1ffa2a Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-18 21:36:48 -07:00
Iris Hsiao
2f57ea5bb4 Backed out 3 changesets (bug 1349417) for build bustage
Backed out changeset e6a9aaf8c102 (bug 1349417)
Backed out changeset fbdddabe4c8d (bug 1349417)
Backed out changeset c1ead1f0ab71 (bug 1349417)
2017-04-19 11:03:13 +08:00
Manish Goregaokar
cb05d3003e Bug 1349417 - Part 9: stylo: Update test expectations; r=xidorn
MozReview-Commit-ID: 5SGrYUIhHOQ
2017-04-18 19:31:07 -07:00
Manish Goregaokar
8854b518a1 Bug 1342596 - Update expectations for absolute length serialization ; r=manishearth 2017-04-12 14:57:20 +08:00
Sebastian Hengst
95d52e6546 Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
Chris Peterson
9a7117b6ae Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
MozReview-Commit-ID: 6WPOOCcF43M

--HG--
extra : rebase_source : 83a416e89a479c25281128630935b0ec19dd915f
extra : histedit_source : cea4b90eb46eeac04fd2de120d1044576405aa2f%2C0dc86ac28399a3af673ebd40d11a75c57ef04f4b
2017-03-08 00:20:41 -08:00
Daniel Holbert
eaf41a48a2 Bug 1349816: Initialize a ScrollFrameHelper member-var in constructor. r=kats
Landing on a CLOSED TREE (bugzilla's down, but I'll update the bug manually)

MozReview-Commit-ID: 8SHQcIWQUR0
2017-03-24 13:34:42 -07:00
Daniel Holbert
bd04b6eecb Bug 1324624 followup: Remove bogus/redundant crashtest comment for invalid bug 1324654. (no review, comment-only, DONTBUILD)
MozReview-Commit-ID: 8knfyz48aTp
2017-03-24 08:29:35 -07:00
Carsten "Tomcat" Book
7419b36815 merge mozilla-inbound to mozilla-central a=merge 2017-03-24 14:24:21 +01:00
Mats Palmgren
2feec4025d Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Iris Hsiao
106889c6f6 Backed out 9 changesets (bug 1333482) for stylo test failures and this should be landed to autoland
Backed out changeset d8828e22dbaa (bug 1333482)
Backed out changeset a39aaecd10f7 (bug 1333482)
Backed out changeset c957d8c0281e (bug 1333482)
Backed out changeset d569fc566e43 (bug 1333482)
Backed out changeset 7e8c03090d34 (bug 1333482)
Backed out changeset c4511a175f2f (bug 1333482)
Backed out changeset 5483a82f7ce9 (bug 1333482)
Backed out changeset 4e7e5efb1bd8 (bug 1333482)
Backed out changeset 51d1accaeddb (bug 1333482)
2017-03-24 10:21:30 +08:00
Mats Palmgren
53c393f0ba Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 23:13:18 +01:00
Jesse Schwartzentruber
455822a6b6 Bug 1349650 - [css-grid] Crashtest.
MozReview-Commit-ID: LNuu5leq887
2017-03-23 21:04:36 +01:00
Cameron McCormack
f6e0ca5fb2 Bug 1349457 - stylo: Eagerly style generated content. r=bholley
MozReview-Commit-ID: Jv3hNEjUonp

--HG--
extra : rebase_source : 7f935ac0ae8bb5079041b1946ee68532ac625a78
2017-03-23 11:44:00 +08:00
Matt Brubeck
ea53640d30 Bug 1337068 - stylo: Update test expectations. r=emilio
MozReview-Commit-ID: F8dogEQLdgt

--HG--
extra : rebase_source : 57e2ad20c9c13130239fc4d4b1ff537733a77577
extra : intermediate-source : abac6252e97f10b4c45223c5748f5a3bb59d86f2
extra : source : 4f1af10cb01e8b48da5e3ad8487487131fd51b1f
2017-03-18 11:53:44 -07:00
Wes Kocher
a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Martijn Wargers
e9146e80ca Bug 489647 - Crashtest.
MozReview-Commit-ID: LvnPdkxuWK5
2017-03-14 15:25:17 +01:00
Daniel Holbert
6e7d876da4 Bug 883514 - Crashtests.
MozReview-Commit-ID: JWy4zKQfGAE
2017-03-14 15:25:17 +01:00
Manish Goregaokar
b427546203 Bug 1296477 - Part 4: stylo: Update test expectations; r=heycam
MozReview-Commit-ID: 9fff2Pme3ey

--HG--
extra : rebase_source : 99a224155a876e25c99229ae48dc4a92dd420ae2
2017-03-12 21:12:08 -07:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Iris Hsiao
b0564b3436 Backed out changeset da035ac87fe4 (bug 713680) for reftest failures 2017-03-07 14:55:21 +08:00
Chris Peterson
1fbca779ac Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
Consolas is narrower than Courier New, so we must adjust some tests to accommodate.

* Change some tests from generic 'monospace' to 'Courier New' to continue using previous font metrics.

* selectAtPoint.html no longer needs one of its Windows-only code paths because Firefox on Windows now selects the same text as it does on Mac and Linux.

* 323386-1.html's intermittent assertion failure (bug 718883) now appears to be 100% reliable on Windows, joining Linux and Android.

* size-1-ref.html reftest needs a little fuzz because the horizontal line of the test image's '4' character is ~1 pixel shorter than the reference image's.

MozReview-Commit-ID: EB5wzhG178U

--HG--
extra : rebase_source : e7aca6d16c255e45bef5dca93fff6c09bce787c4
2017-02-22 22:08:19 -08:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Emilio Cobos Álvarez
b16dcfdba8 Bug 1342710, Bug 1324633: Update reftests and crashtests expectations.
MozReview-Commit-ID: LmapjDT6ggu
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-02-25 16:50:44 -08:00
Boris Zbarsky
5f864e31c5 Reenable several crashtests that no longer crash or leak or time out with stylo. No bug, r=bzbarsky
MozReview-Commit-ID: 88XjZyn4mnv
2017-02-24 15:22:37 -05:00
Manish Goregaokar
260e308c26 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:48 -08:00
Sebastian Hengst
a793db28eb Backed out changeset 2d887234705f (bug 1338936) 2017-02-19 10:37:16 +01:00
Manish Goregaokar
a6f7209030 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:57:58 -08:00
Boris Zbarsky
96054e12cc Bug 1324661 part 1. When recreating style contexts for elements in stylo, use the right frame (not the primary frame!) for tables. r=bholley,emilio
For a table, the primary frame is the table wrapper anonymous box.  That
anonymous box inherits style from its _child_ table frame, which is the frame that
has the actual style for the element.  So we want to use the stylo-computed
style for the table frame, and then compute an updated style for the table
wrapper too, because some things (like absolute positioning) are done for the
table wrapper anonymous box, not the table frame.
2017-02-17 14:52:39 -05:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
Jesse Schwartzentruber
1b6fe7b4c5 Bug 1278080 - Crashtest. 2017-02-12 01:44:06 +01:00
Cameron McCormack
90e83367ae Bug 1334768 - stylo: Test expectation adjustments for for 2017-02-09 merge. r=me
MozReview-Commit-ID: AhvCAu3NYrb
2017-02-09 21:11:09 +08:00
Cameron McCormack
f7f9c5f69e Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 15:10:45 +08:00
Cameron McCormack
41bbd156cf Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 15:10:45 +08:00
Sebastian Hengst
2664cfc0a9 Backed out changeset 0d069e7395e9 (bug 1314045) for Windows build bustage: warning at Loader.cpp(1885). r=backout on a CLOSED TREE 2017-01-31 18:17:09 +01:00
Cameron McCormack
0ba5cf9cc4 Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack
590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst
ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst
24430aff14 Backed out changeset 4787d54f7aa6 (bug 1314045) 2017-01-31 17:30:25 +01:00
Sebastian Hengst
82170bb7cf Backed out changeset 7771169d9f8a (bug 1324647) 2017-01-31 17:30:21 +01:00
Cameron McCormack
95f75d80be Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 23:36:29 +08:00
Cameron McCormack
e64744beef Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack
946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Astley Chen
8ce1c2ecff Bug 1331296 : Part 1 - Remove or unprefix -moz-calc() from layout tests. r=heycam
MozReview-Commit-ID: HKCS8Uqv1Cs

--HG--
extra : rebase_source : 1d49bf139db6204cf31fa6820cced7f5b8a17af6
2017-01-18 10:50:19 +08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jesse Ruderman
32e0c74c91 Bug 742602 - Add a crashtest. 2017-01-16 02:09:21 +01:00
Bobby Holley
e69afdcb2e Bug 1323671 - Reenable crashtests. r=me 2017-01-12 17:37:30 -08:00
Bobby Holley
eb34404cc8 Bug 1323654 - Reenable crashtests. r=me 2017-01-12 17:37:27 -08:00
Cameron McCormack
1251ea98d8 Bug 1324663 - stylo: Adjust one more assertion annotation. r=me
MozReview-Commit-ID: 3tHwZtuUWwG
2017-01-12 11:57:52 +08:00
Cameron McCormack
9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Cameron McCormack
466ecf05e1 Bug 1324705 - stylo: Update some crashtest assertion expectations. r=emilio
These were fixed by https://github.com/servo/servo/pull/14922.

MozReview-Commit-ID: 3Ypfq0BmkIY

--HG--
extra : rebase_source : c32e69303826b65059dcae963ddce94f5f4c40f8
2017-01-09 17:34:16 +08:00
Cameron McCormack
3bd4794eaf Bug 1324673 - stylo: Update some crashtest assertion expectations. r=emilio
These were fixed by https://github.com/servo/servo/pull/14922.

MozReview-Commit-ID: H7s2lGJ8QYU

--HG--
extra : rebase_source : ef104630c7715f2f95539a3bb65e46a480ff2bdb
2017-01-09 17:34:18 +08:00
Cameron McCormack
d4de4e55a0 Bug 1324624 - stylo: More crashtest assertion adjustments.
MozReview-Commit-ID: DM8nLXSiSxr
2017-01-07 16:33:50 +08:00
Bobby Holley
b32f310e62 Bug 1323649 - Reenable some crashtests. r=me 2017-01-09 11:50:23 -08:00
Bobby Holley
4ff3bbf698 Bug 1323662 - Reenable crashtests. r=me 2017-01-09 11:50:21 -08:00
Bobby Holley
09ce7e77ed Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio 2017-01-09 11:50:16 -08:00
Boris Zbarsky
99d2e96def Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley 2017-01-04 14:52:27 -05:00
Cameron McCormack
61569b57a1 Bug 1324624 - Tweak stylo crashtest assertion annotations a bit more.
MozReview-Commit-ID: D2AntG68VGr
2017-01-02 16:25:22 +08:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Cameron McCormack
7d092a6761 Bug 1323892 - Follow to disable one more test.
MozReview-Commit-ID: BJVE8VHb6wm
2016-12-21 14:02:29 +08:00
Cameron McCormack
366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Tooru Fujisawa
6a89333da4 Bug 1321225 - Remove legacy generator from layout/. r=jrmuizel 2016-12-15 16:54:45 +09:00
Daniel Holbert
393a655d33 Bug 1319318: When resolving a video/audio frame's shrinkwrapped BSize from controls, check whether controls are orthogonal when reading its size. r=mats
MozReview-Commit-ID: 9kH7rLF66zd
2016-12-08 09:20:25 -10:00
James Graham
19b6bc91a2 Bug 1321127 - Add temporary annotations for asserts missed by CI, r=dbaron
These asserts appeared during the window when reftest harness assert
count failures were not correctly detected by the CI system. They are
expected to be fixed in followup commits.

MozReview-Commit-ID: JoXtI4c0SSF
2016-12-08 09:53:21 -10:00
Mats Palmgren
38e563c2fe Bug 1153478 - Crashtest. 2016-11-21 00:26:37 +01:00
Nils
2a76150eef Bug 1281102 - Crashtest. 2016-11-21 00:26:37 +01:00
Ray Lin
461915d273 Bug 1271765 - Part 1: Remove XUL specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : 41195f234bd3bb845855e08a354ce110d3f5e8b8
2016-10-12 13:41:50 +08:00
Ting-Yu Lin
55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Wes Kocher
c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Ray Lin
234b017f7f Bug 1271765 - Part 1: Remove XUL-specific reflow code of video control. r=dholbert
MozReview-Commit-ID: KFn3ga2Uqq2

--HG--
extra : rebase_source : f660cc62ed5b2c3a361568fde22491a5aed6c9f6
2016-10-12 13:41:50 +08:00
Mats Palmgren
80036646bc Bug 1316649 - Crashtest. 2016-11-11 18:28:43 +01:00
Mats Palmgren
b1c4b6d89a Bug 1313254 part 2 - [css-align] Change "last-baseline" to "last baseline" in layout/ (scripted change). r=dholbert 2016-11-05 02:57:07 +01:00
Daniel Holbert
5e2f87bff5 Bug 1269046 part 11: Add reftests for CSS Alignment of absolutely positioned flex children.
MozReview-Commit-ID: FpWhqZdyvBr
2016-10-31 08:59:40 -07:00
Ting-Yu Lin
570d1f0e83 Bug 1304441 Part 3 - Insert main summary's frame construction item at front of the list. r=bz
Change the logic that moves the main summary to the front from operating
on generated frames in DetailsFrame::SetInitialChildList() to operating
on frame construction item list in AddFrameConstructionItemsInternal()
so that it will be correct when cooperating with ::first-line.

The root cause of the bug reported is because when specifying
::first-line on details element, the first frame of summary element,
which is generated due to ib-split, will be wrapped in nsFirstLineFrame.
The original code fails to find the summary frame in the wrapper frame
and triggers assertion because of the second ib-split summary frame. To
fix that, we need to descend into the child list of wrapper frames when
checking the main summary.

Add original test case as a crashtest as well as reftests to clearly
reproduce the issue.

Note that in the reftest, the blue color in ::first-line is applied
incorrectly to the second line in the summary due to bug 520605.

MozReview-Commit-ID: Bv4Vcvxp6pY
2016-10-05 14:43:32 +08:00
Xidorn Quan
a1db43df46 Bug 1279814 followup - Add crashtest for this bug. r=jfkthame
MozReview-Commit-ID: HViGSGNbscY

--HG--
extra : source : 0706234a33fd0d5b519700f051554bdcda3dd558
2016-09-28 12:11:18 +10:00
Brad Werth
f9e226b0fa Bug 1278461 - Prevent an assert from tripping when removing an overflowed frame during a partial reflow. r=mats 2016-09-22 12:37:35 -07:00
Ting-Yu Lin
4ecdeeb2ad Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
MozReview-Commit-ID: LCegChkryHj

--HG--
extra : rebase_source : a491cbf457ebb4abaf7db18adea69393ac9cf3bd
2016-08-23 13:55:16 +08:00
Bas Schouten
4d5484cc37 Bug 1297427: Discount border dots with negative radii. r=jrmuizel
MozReview-Commit-ID: 1CONhbL8ZAb

--HG--
extra : rebase_source : 07766295f9b7e238882f8711720bb1ce48977ade
2016-09-08 14:00:54 +02:00
Phil Ringnalda
10f51fb066 Backed out 4 changesets (bug 1297097) for range reftest failures and test_property_database.html mochitest failures
Backed out changeset b54a7a48f417 (bug 1297097)
Backed out changeset 85c47c859eeb (bug 1297097)
Backed out changeset 29d9fb1f4cec (bug 1297097)
Backed out changeset 5f157ad3f509 (bug 1297097)
2016-08-24 22:35:23 -07:00
Ting-Yu Lin
2e89b612fe Bug 1297097 Part 1 - Remove preference "layout.css.vertical-text.enabled" in test files. r=jfkthame
MozReview-Commit-ID: LCegChkryHj

--HG--
extra : rebase_source : 7893e9a62d76da82c0a620430468dc6fde4c57cc
2016-08-23 13:55:16 +08:00
Carsten "Tomcat" Book
5f79b99ba6 Merge mozilla-central to autoland 2016-07-04 13:09:12 +02:00
Xidorn Quan
8bb94fa4a4 Bug 1141895 part 2 - Use unprefixed unicode-bidi values in internal code. r=jfkthame
MozReview-Commit-ID: 1o2NEe8eiSX

--HG--
extra : rebase_source : b09e931fc8e318ceda224fe9c02dd7931c75f8ed
2016-06-30 16:25:31 +10:00
Xidorn Quan
677cf917fd Bug 1275059 - Crashtest for this bug. DONTBUILD
MozReview-Commit-ID: FrJS2Y4ChGH

--HG--
extra : source : f9075e29d12b3f07a740320537c0a3b008fd8dbf
2016-07-04 13:36:08 +10:00
Geoff Brown
1757b081e2 Bug 1263300 - Skip crashtest 724978.xhtml on Android Debug only; r=dholbert 2016-06-28 20:41:32 -06:00
Jesse Ruderman
7316c2f255 Bug 757413 - crashtest. 2016-06-21 13:23:29 +02:00
Mats Palmgren
5198fc4629 Bug 757413 - crashtest. 2016-06-21 13:23:28 +02:00
Abhishek Arya
2cc1b42a0f Bug 876155 - crashtest. 2016-06-21 13:23:28 +02:00
Tooru Fujisawa
cf7034940d Bug 382721 - Part 8: Render too large dotted/dashed corner with solid style. r=jrmuizel 2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book
1e73eca6d5 Backed out changeset ba37839e4fde (bug 382721)
--HG--
extra : rebase_source : aceaae3ba44b2a60f70781439f28718cc3a80db9
2016-06-10 15:38:31 +02:00
Tooru Fujisawa
f56d021842 Bug 382721 - Part 8: Render too large dotted/dashed corner with solid style. r=jrmuizel 2016-06-10 13:10:03 +09:00
Mats Palmgren
16d21bb3d7 Bug 1278007 - [css-grid] Reset all baseline bits when we decide a grid item doesn't participate in [first|last]-baseline alignment. r=dholbert 2016-06-03 17:30:00 +02:00
Xidorn Quan
0a93398e34 Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam
MozReview-Commit-ID: 5LReZwinajo

--HG--
extra : source : 69d39d59e0b856960b198aa2a99347a2816277cf
2016-05-30 14:52:01 +10:00
Daniel Holbert
65a3be93db Bug 1272983 part 1: If GetUsed{Margin,Padding} get called for a value that can't be resolved & isn't cached, assert & return 0-sized nsMargin. r=dbaron
(This restores the behavior we had before bug 1269901 landed, for this scenario.)

MozReview-Commit-ID: Ir1TNM1CgwU
2016-05-20 15:05:31 -07:00