Commit Graph
197 Commits
Author SHA1 Message Date
Kartikaya Gupta b9c61e2dd6 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj
2017-09-26 14:49:19 -04:00
Emilio Cobos Álvarez 2fb463ee98 Bug 1387410: Stop the grid shorthand from resetting grid-gap properties. r=heycam
MozReview-Commit-ID: GxU9YuAUc00
2017-09-08 10:10:11 +02:00
Chris Peterson 41de3371f4 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1
2017-09-01 20:39:44 -07:00
Phil Ringnalda 924ce88d97 Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Chris Peterson 2d402576fc Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1
2017-09-01 20:39:44 -07:00
Alexis Beingessner 302292f123 Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 1HwzQXOqNfl
2017-08-23 12:00:57 -04:00
Tobias Schneider 14a3aed1a4 Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
Sebastian Hengst 4537a9472a Backed out changeset 85b25bbb3498 (bug 1368120)
MozReview-Commit-ID: FrScgn7ZRbJ
2017-07-15 16:24:45 +02:00
Alexis Beingessner c9548b519a Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 7KAI36RWUqK
2017-05-18 13:22:27 -04:00
Nazım Can Altınova 80c943fc86 Bug 1341802 - stylo: Don't skip a passing test in grid r=me
MozReview-Commit-ID: F3pL3jliewR
2017-07-10 14:45:28 -07:00
Nazım Can Altınova 6eab5626f9 Bug 1341802 - Update test expectations after servo/servo#17268 r=me
MozReview-Commit-ID: 20Vpsj7QqbX
2017-07-03 19:07:36 -07:00
Shing Lyu cbdd5066a7 Bug 1367636 - Update stylo-vs-stylo reftest expectations. r=heycam
MozReview-Commit-ID: DVO2R2RQuiK
2017-05-25 16:44:44 +08:00
Shing Lyu 168621aef7 Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA
2017-05-25 11:26:12 +08:00
Hiroyuki Ikezoe c8df99e59d Bug 1355402 - Update reftest expectations. r=me
MozReview-Commit-ID: AdYruPuoZ2H
2017-05-22 19:14:53 +09:00
Ravi Shankar 577527bb13 Bug 1363664 - Update test expectations for some grid-* properties; r=manishearth
MozReview-Commit-ID: GhffFwDCQzs
2017-05-19 01:17:58 +05:30
Mats Palmgren c10daa63d0 Bug 1349320 part 3 - [css-grid] Reftest updates for transferred percent intrinsic sizing fixes.
MozReview-Commit-ID: 3CWOWT9O1yE
2017-05-11 02:33:14 +02:00
Cameron McCormack d45ce2a2fc Bug 1361985 - Adjust test expectations. r=me 2017-05-05 14:50:07 +08:00
Hiroyuki Ikezoe ba7d7f393e Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
MozReview-Commit-ID: 6sqyA5TCHjk
2017-05-04 06:39:30 +09:00
Sebastian Hengst 571b46e859 Bug 1352942 - Re-disable intermittent css-grid/grid-whitespace-handling-1b.xhtml which got accidentally enabled by bug 1351548. r=test-disabling 2017-04-29 13:04:33 +02:00
Shing Lyu 688a98f536 Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu e6b1b20ff7 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst 5f2945b3ec Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst 7c67d76792 Backed out changeset 4d8dfee7ebf3 (bug 1351548) 2017-04-26 13:12:59 +02:00
Sebastian Hengst ce63b37abb Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 66fcd4c2bf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu 1ae324bcba Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: 3GHNhi3gdg9
2017-04-26 18:21:48 +08:00
Shing Lyu a6e0a62b7d Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Joel Maher 9c282233ad Bug 1352942 - Intermittent css-grid/grid-whitespace-handling-1b.xhtml. marks as fails. r=hiro
MozReview-Commit-ID: C3CuW2JWcGU
2017-04-19 08:11:51 -04:00
Mats Palmgren 397ae08102 Bug 1350925 part 3 - [css-grid] Reftest.
MozReview-Commit-ID: ITGh6urXXro
2017-04-18 22:35:05 +02:00
Mats Palmgren 751039cd27 Bug 1348857 part 4 - [css-grid] Reftests for grid items that stretch with no Automatic Minimum Size.
MozReview-Commit-ID: 2seF05eqC2W
2017-04-18 22:35:04 +02:00
Mats Palmgren 41caad8d36 Bug 1356820 part 2 - [css-grid] Reftests.
MozReview-Commit-ID: 5Q9hmoJhSxH
2017-04-18 22:35:04 +02:00
Sebastian Hengst 0aa0295b1b Bug 1341802 - stylo: Update reftest expectations for grid-{row,column} and grid-area. r=test-annotations-fix 2017-04-14 23:10:33 +02:00
Nazim Can Altinova b4fd2f5f45 Bug 1341802 - stylo: Update reftest expectations for grid-{row,column} and grid-area. r=test-annotations-update 2017-04-14 22:38:19 +02:00
Manish Goregaokar 8d1f6ffa12 Bug 1341714 - Part 1: stylo: Add support for text-align match-parent and the <th> -moz-center-or-inherit behavior ; r=heycam
MozReview-Commit-ID: GEDM7JfJB8A
2017-03-26 13:53:34 -07:00
Hiroyuki Ikezoe a1a3411da2 Bug 1352771 - modify flexbox reftest expectations. r=bholley
MozReview-Commit-ID: 8QCs5TPFKP
2017-04-03 07:26:41 +09:00
Manish Goregaokar 150256fe29 Bug 1352775 - Revert "Bug 1352771 - modify flexbox reftest expectations. r=manishearth"
This reverts commit 13e78ea10b414ac4bd062037d4436ce1689ba865.

MozReview-Commit-ID: CZxOSUfT02b
2017-04-01 19:59:12 -07:00
Hiroyuki Ikezoe d90156a7a1 Bug 1352771 - modify flexbox reftest expectations. r=bholley
MozReview-Commit-ID: 8QCs5TPFKP
2017-04-02 11:06:23 +09:00
L. David Baron 651fa9086d Bug 1351359 - Make nsGridContainerFrame call ReflowInput::SetBResize(true) because of auto-block-size swapping between measuring reflows and regular reflows. r=mats
This fixes the failure of
layout/reftests/css-grid/grid-min-max-content-sizing-002.html with the
primary patch in bug 1308876 (which causes a child whose parent is dirty
to pick up the dirty bit from the parent only the first reflow of the
child if the parent reflows the child multiple times).  A simplified
testcase for that failure is
https://bugzilla.mozilla.org/attachment.cgi?id=8849771 .

The failure was caused by an error in height calculation of the first
<x> in the test.  The div that is the parent of that x has a definite
height (presumably due to rules in grid), and the x has a specified
height.  The div gets three reflows:  two measuring reflows (from
MinContentContribution and then from MaxContentContribution) and then a
final reflow from nsGridContainerFrame::ReflowInFlowChild.  Prior to the
primary patch in this bug, the div was marked dirty on all three
reflows, but with it it is marked dirty only on the first.  This means
that, without the block-resize flag, the div optimizes away the reflow
of its children, since ShouldReflowAllKids returns false because
IsBResize() is false, even though NS_FRAME_CONTAINS_RELATIVE_BSIZE is
correctly set.

In order to fix this, we need to make sure the BResize flag on the
reflow state in at least some cases (see the comments in the patch for
when, and for how the cases could be optimized in the future).

Note that:

 * when the dirty bit is set on the grid container, the new behavior
   (with the combination of the patches) is strictly more efficient than
   the old, since we will sometimes do non-dirty reflows on the grid
   items (with the b-resize flag)

 * when the dirty bit is *not* set on the grid container, the new
   behavior is less efficient than the old, since we will set the
   b-resize flag when we did not do so before.  However, this slowdown
   fixes existing bugs such as the one in the reftest.

Given that I was able to construct a reftest that triggers the failure
without the changes from bug 1308876, I've moved this to a separate bug.
Without the patch, grid-measuring-reflow-resize-dynamic-001.html fails,
but grid-measuring-reflow-resize-static-001.html passes.  With the patch
both tests pass.  (And without the patch, doing a text zoom on the
dynamic test fixes the layout error.)

MozReview-Commit-ID: JQOdVTQIkU0
2017-03-30 22:56:14 -04:00
Ting-Yu Lin 6b854b6f48 Bug 1322570 Part 2 - Resolve {align,justify}-self using StyleContext from alignment container frame in ReflowInput::InitConstraints(). r=dholbert
Per bug 1322570 comment 46, it's not easy to replace ComputedJustifyItems()
and UsedJustifySelf()'s internal nsStyleContext::GetParent() without
correctness penalty, so we use GetParentAllowServo() for now.

Also, fix the reftest.list added in bug 1334403 which incorrectly wrote test
page as reference page.

MozReview-Commit-ID: 6kAAWSFojd5
2017-03-20 14:12:08 +08:00
Matt Brubeck 0470f360ce Bug 1340683 - stylo: Update stylo test expectations r=KWierso
MozReview-Commit-ID: 54PFVqZfaau
2017-03-16 11:38:33 -07:00
Mats Palmgren ab35b83a8a Bug 1335806 part 4 - [css-grid] Tweak reftests where 'align/justify-self:normal' now means 'start' for grid items with an intrinsic size / aspect ratio.
MozReview-Commit-ID: AztJxC2cBMR
2017-03-16 15:24:57 +01:00
Mats Palmgren 48c56ea56b Bug 1346699 part 3 - [css-grid] Additional reftests for min/max-sizes affecting flexible track sizing.
MozReview-Commit-ID: 6NORO1Q7xOE
2017-03-16 13:24:50 +01:00
Mats Palmgren 0d84bb2cef Bug 1317149 - Comment out a part of this test that causes to many intermittent failures. r=me 2017-03-15 14:05:00 -04:00
Manish Goregaokar 066385a787 Bug 1296477 - Part 4: stylo: Update test expectations; r=heycam
MozReview-Commit-ID: 9fff2Pme3ey
2017-03-12 21:12:08 -07:00
Phil Ringnalda a7c67c28a7 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Manish Goregaokar 4b3fabe64e Bug 1342710 - stylo: Disallow keyword values in min/max-size properties; r=xidorn
MozReview-Commit-ID: BTRGHlMXRxg
2017-02-26 00:58:08 -08:00
Phil Ringnalda 330a327598 Merge m-c to m-i 2017-02-25 13:35:20 -08:00
Emilio Cobos Álvarez c0e5af8f9a Bug 1341083: Implement dynamic restyling for display: contents. r=heycam
MozReview-Commit-ID: KimTU2j4V4p
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-02-25 19:15:38 +01:00
Bobby Holley 19b11d615c No Bug - Twiddle stylo reftest expectations some more. r=me
MozReview-Commit-ID: H1YoN7HpmO1
2017-02-25 17:58:53 -08:00
Emilio Cobos Álvarez 577e47ac51 Bug 1342710, Bug 1324633: Update reftests and crashtests expectations.
MozReview-Commit-ID: LmapjDT6ggu
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-02-25 16:50:44 -08:00