Commit Graph

51 Commits

Author SHA1 Message Date
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
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
85c0fdbc46 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk
2017-05-04 06:39:30 +09: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
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
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
Boris Zbarsky
bc644e0dc2 Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3
2017-02-23 02:09:57 -05:00
Boris Zbarsky
9666ae4505 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
Cameron McCormack
b71fd035e6 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
95e99422cb 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
Cameron McCormack
1b17824ce4 Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Shing Lyu
0192dd886a Bug 1331860 - Update reftest-stylo expectations. r=heycam 2017-01-12 10:37:36 +08:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Shing Lyu
ea0c6d953f Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Sebastian Hengst
a315b87661 Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/margin-collapsing. r=dholbert
MozReview-Commit-ID: kf5CdFgVDa
2016-10-09 09:51:30 +02:00
Shing Lyu
d2d6586381 Bug 1302993 - Update some stylo reftest expectations; r=heycam
MozReview-Commit-ID: 5UUDlAUfBYP
2016-09-12 11:05:21 +05:30
Shing Lyu
20e3ef4d6f Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth 2016-09-05 11:45:39 +08:00
Geoff Brown
9a5603ff60 Bug 1146690 - Enable layout/reftests/margin-collapsing/block-float-1b.html on Android 4.3; r=me 2016-02-26 14:01:11 -07:00
L. David Baron
e0b0b6e835 Bug 451791 patch 2 - Report block non-empty to its parent block during margin collapsing if we encounter clearance. r=roc
The goal of ComputeCollapsedBStartMargin is to collapse all of the
margins that collapse with a block's top margin.  It does this by
scanning forward through the child list until it finds something that
blocks collapsing; it descends into children through recursion.  When we
find a non-empty block or line, we stop collapsing and report to the
parent that the child is non-empty so that it stops collapsing as well.

This patch changes our behavior when we have clearance to do the same
thing that we do for non-empty lines or blocks (which makes both
occurrences of |goto done| be preceded by the same code).  Without the
patch we would fail to report being non-empty to the parent (and instead
report emptiness based on the IsEmpty() method).  This meant that,
without the patch, if a block has a child with clearance but also has
IsEmpty() true, we would stop scanning margins in that block after the
clearance, but start searching again for margins in the block's parent,
starting with the block's bottom margin.  This patch sets *aBlockIsEmpty
to true in that case so that we do not pick up again in the block's
parent (or, potentially, grandparent, etc.).
2015-08-05 21:04:38 -07:00
Geoff Brown
629d6e381b Bug 1140148 - Update reftest manifests for Android 4.3 emulator; r=dminor 2015-03-24 06:51:45 -06:00
Alexandre Lissy
7db88f40d2 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
CJKu
19854f2409 Bug 1000722 - Rollback close reftest in bug 981477. r=ahal 2014-06-24 10:20:00 -04:00
Vincent Chen
ade799b5dd Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal 2014-05-23 15:56:15 -04:00
Daniel Schattenkirchner
c6826c4422 Bug 921761 - margin-collapsing test suite, wave 8; dynamic and additional cases for margins of a BFC; Multi-column margins; margins given in percent and em; r=dholbert 2014-03-04 14:09:37 -08:00
Daniel Schattenkirchner
040ffecdc3 Bug 921761 part 2 - margin-collapsing test suite; rearrange tests in reftest.list and add comments; r=dholbert 2013-10-15 17:37:11 -07:00
Daniel Schattenkirchner
8d2ca9d3f9 Bug 921761 part 1 - margin-collapsing test suite, wave 7; improving tests by adding readable IDs, rearranging styles, changing colors; r=dholbert 2013-10-15 17:37:03 -07:00
Daniel Schattenkirchner
a5f4e5db88 Bug 477462 - margin-collapsing test suite, wave 6; parent's and last-child's bottom margin with min-/max-/height. r=dholbert 2013-09-14 22:16:53 -04:00
Daniel Schattenkirchner
80bc394ede Bug 477462 - margin-collapsing test suite, wave 5b; root, html, body margins and non-sibling margins; r=dholbert 2013-08-26 21:27:49 -10:00
Andrew Halberstadt
936d51438a Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Daniel.S
630810d89d Bug 477462 - margin-collapsing test suite, wave 5a; dynamic and != tests for negative sibling margins; r=dbaron 2012-11-20 15:15:42 -08:00
Mats Palmgren
f412cd3cb1 Bug 750293 - Don't include a block's margins in its scrollable overflow for now. r=roc 2012-05-17 01:04:38 +02:00
Mats Palmgren
448a14f82d Bug 724352 - Don't add vertical margin to scrollable overflow here, it's already done during reflow and we don't need it for UpdateOverflow yet (and we need to account for margin-collapsing when we do). r=roc 2012-04-05 16:30:21 +02:00
Mats Palmgren
aafe4e1fd0 Bug 665597 - Fix some reftests assumptions about margins and scrollable overflow. part=5/5 r=dbaron,roc 2012-01-17 00:38:10 +01:00
Benoit Girard
d9967cc405 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Ehsan Akhgari
d42f0f9e4e Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Benoit Girard
44f014fd75 Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe 2011-09-19 13:05:15 -07:00
Jonathan Kew
9559c200d7 Bug 661471. Part 5: Fix reftests. r=roc 2011-06-03 16:31:08 +12:00
Daniel.S
932ef72f27 Bug 477462 - margin-collapsing test suite, wave 4: dynamic horizontal, block, table, caption sibling margins. r=dbaron 2011-05-21 22:05:43 +02:00
Jesse Ruderman
ff49e7ae07 Add reftest for bug 467321 2009-10-15 12:18:37 -07:00
Jonathan Kew
4908fc12da Bug 518357, make reftests less sensitive to default font size settings. r=roc 2009-09-23 15:55:55 +01:00
Daniel.S
9a74f7049a Bug 477462: Create tests for margin collapsing, phase 3. r=dbaron 2009-08-14 14:59:45 -07:00
Bernd
2d250501bc adopt caption vertical margins to latest CSS2.1 revision, bug 478614, r/sr=dbaron 2009-06-28 15:51:46 +02:00
Daniel.S
736e55a983 Bug 477462 - Add margin-collapsing tests (part 2): horizontal margins, tables, captions, fieldsets and some suggested tests. r+sr=dbaron 2009-05-26 20:24:25 +02:00
Robert O'Callahan
339c05118f Fix bustage #3 2009-04-25 21:38:35 +12:00
Daniel.S
ad33bacac6 Bug 477462. Add many margin-collapsing reftests. r+sr=dbaron 2009-04-25 20:50:57 +12:00