Commit Graph

93 Commits

Author SHA1 Message Date
Ting-Yu Lin
3ae14a4f88 Bug 1523595 Part 1 - Remove margin-bottom from column-balancing-nested-000.html and its reference. r=dbaron
This patch does the same thing as bug 1548118 Part 3, but for
column-balancing-nested-000.html.

Differential Revision: https://phabricator.services.mozilla.com/D31674

--HG--
extra : moz-landing-system : lando
2019-06-19 17:03:53 +00:00
Ting-Yu Lin
44b91cdf58 Bug 1548118 Part 4 - Always mark inner ColumnSetWrapper's children dirty before reflowing it if the outer ColumnSetWrapper is balancing. r=dbaron
ColumnSetFrame always tries to reflow column content regardless of it's
dirtiness. Making ColumnSetWrapperFrame's children dirty can have the
same effect.

Differential Revision: https://phabricator.services.mozilla.com/D29435

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
Ting-Yu Lin
1bfc721a99 Bug 1548118 Part 3 - Remove margin-bottom from column-balancing-nested-001.html and its reference. r=dbaron
Per bug 1487927, margin-bottom value is not always rendered as expected
with our column balancing algorithm. I'd like to remove it from
column-balancing-nested-001.html, and add <br> to separate each cases.

Differential Revision: https://phabricator.services.mozilla.com/D30287

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
arthur.iakab
e044816b6c Backed out 3 changesets (bug 1548118) for causing reftest failures on column-balancing-nested-001.html CLOSED TREE
Backed out changeset 516cc2c504f5 (bug 1548118)
Backed out changeset 40a074be8bf0 (bug 1548118)
Backed out changeset f3821529e276 (bug 1548118)
2019-05-07 05:41:24 +03:00
Ting-Yu Lin
0c3d6cd3a5 Bug 1548118 Part 3 - Always mark inner ColumnSetWrapper's children dirty before reflowing it if the outer ColumnSetWrapper is balancing. r=dbaron
ColumnSetFrame always tries to reflow column content regardless of it's
dirtiness. Making ColumnSetWrapperFrame's children dirty can have the
same effect.

Differential Revision: https://phabricator.services.mozilla.com/D29435

--HG--
extra : moz-landing-system : lando
2019-05-06 23:09:35 +00:00
Ting-Yu Lin
87b3beffae Bug 1548126 - Mark known existing reftests failures with column-span enabled. r=dholbert
Due to the syntax limitation in failures.list, I cannot mark
multicol-rule-004.xht as fails with column-span enabled and success with
column-span disabled simultaneously. Luckily, we had another copy of it
in testing/web-platform/tests/css/css-multicol/multicol-rule-004.xht, We
can use it to test with column-span disabled for now.

Differential Revision: https://phabricator.services.mozilla.com/D29419

--HG--
extra : moz-landing-system : lando
2019-05-02 21:41:33 +00:00
Ting-Yu Lin
cd5719b6d9 Bug 1535200 Part 1 - In fieldset, make absolute positioned frames relative to multicol container, not the column content frames. r=mats
Per spec, "Note: Column boxes do not become the containing block for
elements with position: fixed or position: absolute. The containing
block is the multicol container, it being the principal box."

https://drafts.csswg.org/css-multicol-1/#the-multi-column-model

contentFrame and contentFrameTop are different only if fieldset has
multicol layout. In that case, contentFrameTop is nsColumnSetFrame (or
ColumnSetWrapperFrame after applying Part 2 with
layout.css.column-span.enabled=true).

Differential Revision: https://phabricator.services.mozilla.com/D23617

--HG--
extra : moz-landing-system : lando
2019-03-18 05:47:53 +00:00
Ting-Yu Lin
000992e33e Bug 1527725 - Exclude ColumnSetWrapperFrame from the first letter style consistency check in nsBlockFrame. r=dbaron
If there's ::first-letter pseudo element on the multicol container,
ColumnSetWrapperFrame will have the first letter style, but it won't get
the NS_BLOCK_HAS_FIRST_LETTER_STYLE bit during frame construction. The
actual first-letter frame construction happens under -moz-column-content
anonymous block.

This patch excludes ColumnSetWrapperFrame from the debug check to meet
the expectation.

Add a reftest to make sure ::first-letter and ::first-line still work
after introducing ColumnSetWrapperFrame, and no assertion is fired.

Differential Revision: https://phabricator.services.mozilla.com/D20757

--HG--
extra : moz-landing-system : lando
2019-02-22 01:14:45 +00:00
Ting-Yu Lin
97005f50c2 Bug 1520722 Part 2 - When removing bidi continuations, go no further than the block which needs resolution. r=dbaron
When doing bidi resolution for column-content blocks, we may still
traverse the parent chain up in RemoveBidiContinuation, reach
nsColumnSetFrame, and accidentally convert nsColumnSetFrame's
continuation into fluid ones.

Differential Revision: https://phabricator.services.mozilla.com/D17551

--HG--
extra : moz-landing-system : lando
2019-02-01 06:14:27 +00:00
L. David Baron
1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Jonathan Kew
1a0fca4019 Bug 1318526 - Remove HTTP(..) from reftest manifests where this was only needed to work around file-URI origin restrictions. r=dbaron 2017-10-22 08:31:41 +01:00
Kartikaya Gupta
818cfd7499 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

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Joel Maher
f4b8f26ddb Bug 1398910 - make reftest-no-accel run on windows 10 (hardware) instead of windows 8. r=ahal,jet 2017-09-19 11:44:07 -04:00
Alexis Beingessner
ff20a616fa Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 1HwzQXOqNfl
2017-08-23 12:00:57 -04:00
Sebastian Hengst
926ac48d87 Backed out changeset 85b25bbb3498 (bug 1368120)
MozReview-Commit-ID: FrScgn7ZRbJ
2017-07-15 16:24:45 +02:00
Alexis Beingessner
959924bfa8 Bug 1368120 - Fuzz tests to support slight webrender differences. r=kats
MozReview-Commit-ID: 7KAI36RWUqK

--HG--
extra : rebase_source : e7f476c7bdd641a71abade19a083300d9f2df133
2017-05-18 13:22:27 -04:00
L. David Baron
e094153c1e Bug 1308876 - Don't continue reflow after deciding we need to try again due to page-break-inside:avoid. r=mats
The primary patch in this bug causes fewer dirty reflows, which leads to lines
being out-of-date for the reason described in the comment.  This causes
incorrect layout of some references sections on wikipedia, for which a
simplified testcase is included.

This bug was not caught by anything in our test suite, but I noticed it
while browsing wikipedia (since I use a build that has my patches in it
for my regular browsing).

MozReview-Commit-ID: 4hTQpGS2pZH
2017-07-12 19:37:12 -07:00
Kartikaya Gupta
2fd3eabe2c Bug 1373381 - Update reftest annotations from changes in WR cset fc758aa. r=Gankro
MozReview-Commit-ID: DEmTtqSXhWF

--HG--
extra : rebase_source : ecc5dc14de82fbc4064ade2f5fd9890bf7af2e3b
2017-06-20 09:39:00 -04:00
Morris Tseng
d4318aebd2 Bug 1354463 - Use precise range for fuzzy-if. r=kats
MozReview-Commit-ID: Cf0d2ZjCMHb
2017-06-09 10:21:21 +08:00
Morris Tseng
bb8ff176c7 Bug 1354463 - Add fuzzy-if for tests. r=kats
MozReview-Commit-ID: ESHaXJrvBjY

--HG--
extra : rebase_source : 80308ff61f24fde5117ea34072f0735307dbc565
2017-06-06 12:01:24 +08:00
Ethan Lin
4dbd75f39f Bug 1369264 - Part2. Add flags for some reftests to make try passed after enabling column rule layer. r=pchang 2017-06-02 11:55:11 +08:00
Kartikaya Gupta
b806c06bdb Bug 1367734 - Increase fuzz on a reftest due to changes in servo/webrender#1292. r=jrmuizel
MozReview-Commit-ID: 6gc49H6Vwob
2017-06-01 08:57:24 -04:00
Kartikaya Gupta
e3daa416be Bug 1363683 - A fuzzy test changed in behaviour slightly, so adjust the fuzziness parameters. r=jrmuizel
This changed in WR cset 24bf170.

MozReview-Commit-ID: FGiFYk8z1hU
2017-05-15 15:13:43 -04:00
Cameron McCormack
d7a98f45a2 Bug 1356103 - Part 11: Adjust text expectations. r=bholley
MozReview-Commit-ID: 7psm1XCGQ8I

--HG--
extra : rebase_source : cf638bbbe982fa366562b135c098c8e960e8b984
2017-04-30 15:20:42 +08:00
Iris Hsiao
0a6db9e69f Backed out 12 changesets (bug 1356103) for build bustage at PostTraversalTask.h
Backed out changeset 9fb487252c28 (bug 1356103)
Backed out changeset 301237c65945 (bug 1356103)
Backed out changeset 7bc3a4861a39 (bug 1356103)
Backed out changeset 2f383d89184b (bug 1356103)
Backed out changeset a03112e1c9d5 (bug 1356103)
Backed out changeset c60b4c9cbd83 (bug 1356103)
Backed out changeset 34280baeaabe (bug 1356103)
Backed out changeset 31a0881cfb47 (bug 1356103)
Backed out changeset 529d037f9c33 (bug 1356103)
Backed out changeset 1c7831db6b07 (bug 1356103)
Backed out changeset 559f06e32df3 (bug 1356103)
Backed out changeset 784865d234cd (bug 1356103)
2017-05-04 17:56:25 +08:00
Cameron McCormack
06970669b1 Bug 1356103 - Part 11: Adjust text expectations. r=bholley
MozReview-Commit-ID: 7psm1XCGQ8I

--HG--
extra : rebase_source : 70ca0331145d31f85e2e21eb1036485d15b9ce8a
2017-04-30 15:20:42 +08:00
Hiroyuki Ikezoe
751ec1a2f7 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Shing Lyu
c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Kartikaya Gupta
9a7952f7f9 Bug 1355475 - Update reftest fuzziness for change in webrender cset e3f6317. r=jrmuizel
MozReview-Commit-ID: 6wmUFyzipmt
2017-04-18 11:18:05 -04:00
Manish Goregaokar
5c6db46eb1 Bug 1356105 - stylo: Disable font metrics ; r=heycam
MozReview-Commit-ID: DgwnF7isa6W
2017-04-13 14:48:37 +08:00
Xidorn Quan
101f2b93e2 Bug 1341724 followup - Adjust reftest expectations.
MozReview-Commit-ID: KPZUOdERNEK

--HG--
extra : rebase_source : 5cda12c745f744ff8d1c03db0c46fcdf827a9474
2017-04-10 20:54:22 +08:00
Manish Goregaokar
d52216a79d Bug 1341648 - stylo: Include content rules from HTMLTableCellElement::WalkContentStyleRules ; r=bz
This also removes the TABLE_ATTRS_DIRTY optimization. Constructing nsMappedAttributes isn't really expensive and we do it all the time anyway.

MozReview-Commit-ID: 2krt1nFUzgl

--HG--
extra : rebase_source : 18d400aed6f427e5efc503b87b6ee2d9af74f3f5
2017-03-26 13:53:34 -07:00
Xidorn Quan
6e6684128a Bug 1345696 part 8 - Update test expectations. r=heycam
MozReview-Commit-ID: 5zQjzFUKdR8

--HG--
extra : rebase_source : 18d7a9cc76a21ab2d90e75eb4194f61fcd9797de
2017-03-28 16:28:36 +11:00
Ethan Lin
adb68a37f8 Bug 1348755 - Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow 2017-03-27 16:17:45 +08:00
Boris Zbarsky
a16c017a14 Bug 1347411 part 6. Change stylo to correctly recompute style of column-content anonymous boxes. r=heycam
MozReview-Commit-ID: 2pNOSVUuLJK
2017-03-15 14:00:43 -04:00
Boris Zbarsky
f4e8b5761a Bug 1340277. Fix stylo to properly update styles on the anonymous scrolled-content frame inside a scrollframe. r=emilio
MozReview-Commit-ID: DE4C6pIp8SC

--HG--
extra : rebase_source : 4e7071074791fee71b7bd61da27387035d803374
2017-03-03 16:16:11 -05:00
Xidorn Quan
46aeed66ff Bug 1343166 - Update test expectation for servo/servo#15761.
--HG--
extra : rebase_source : 54155b656ce81f6d10454d95b122dcb738c4490f
2017-02-28 19:55:39 +11:00
Emilio Cobos Alvarez
bbacba9f0d Bug 1342738, Bug 1342188: Reftest expectations adjustments. r=bz 2017-02-27 19:17:12 +01:00
Boris Zbarsky
a11bfd53bd Bug 1341988. Reenable a bunch of stylo reftests that were disabled for reasons that are not relevant anymore. r=bz
MozReview-Commit-ID: CLqLHexhBX3

--HG--
extra : rebase_source : 07dfb89d0651240362395494fdd7ee94363430b6
2017-02-23 02:09:57 -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
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
Cameron McCormack
35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Shing Lyu
39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Shing Lyu
11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Mason Chang
b2a25208e6 Bug 1323587. Part 2: Reftest fuzzing for updated gamma and contrast. r=lsalzman 2016-12-15 18:37:38 -08:00
Sebastian Hengst
922f09ed35 Bug 1307332 - Remove B2G and Mulet annotations from reftest.list: layout/reftests/columns. r=dholbert
MozReview-Commit-ID: FZJj2V2NcBc
2016-10-09 09:51:26 +02:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00