Commit Graph

41 Commits

Author SHA1 Message Date
Boris Chiou
c35f47093e Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
Support unprefixed min-content and max-content and treat the prefixed
version as aliases for
1. width, min-width, max-width if inline-axis is horizontal, and
2. height, min-height, max-height if inline-axis is vertical, and
3. inline-size, min-inline-size, max-inline-size, and
4. flex-basis.

Besides, update the test cases to use unprefixed max-content and
min-content.

Depends on D7535

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:47:37 +00:00
Henrik Winnemöller
2b2b880128 Bug 1502762 - Add reftests for ImageRendering on list-style-image property. r=nical
Add reftests that test the ImageRendering property on list-style-images, JS-based ImageRendering changes and inequality of results between different ImageRendering settings.

--HG--
extra : rebase_source : a3c6298364dd5c099d6e1a851b2f20e1a2b48ab9
2018-10-29 00:47:59 +01:00
Xidorn Quan
0e1bf45a08 Bug 1484521 - Prepend bullet frame in line layout. r=jfkthame
Bug 1478178 regressed this case because bullet frame is the last frame
added to line layout, rather than the first, so when we try to apply
justification, we end up giving it the accumulated offset of the whole
line.

Bullet frame has to be added after other frames in the line have been
placed, because its presence may depend on whether the line is empty.
However, bullet frame is logically the first frame in a line and
appending it to the end is somewhat counter-intuitive.

Thus, this patch tries to fix the issue via prepending bullet frame in
line layout, so that the order of frames there can be more reliable.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 10:44:04 +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
Kartikaya Gupta
32a1261d0d Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 22:42:51 -04:00
Andreea Pavel
8daddd690f Backed out 2 changesets (bug 1322845) for failing reftest background-repeat-large-area.html == background-repeat-large-area-ref.html on a CLOSED TREE
Backed out changeset 4fd46cd822bf (bug 1322845)
Backed out changeset abd41b3e63e7 (bug 1322845)
2018-05-09 05:13:08 +03:00
Kartikaya Gupta
93650c1b04 Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 20:39:51 -04:00
Emilio Cobos Álvarez
dbb3111ff1 Bug 1398492: Remove the grid pref. r=mats
MozReview-Commit-ID: 6Qez8NE8oze
2017-12-17 00:04:35 +01:00
Bas Schouten
d0bbe46a35 Bug 1399178: Record SetPermitSubpixelAA. r=dvander
MozReview-Commit-ID: HfMK5SOSFtr
2017-09-13 19:15:16 +00:00
Chris Peterson
6978210403 Bug 1394603 - Infer asserts-if(styloVsGecko, X*2) from asserts(X). r=jryans
MozReview-Commit-ID: BkvMyNYzpkO

--HG--
extra : rebase_source : 1471e83628782bc3406e33bb4bd9a60341d8c590
extra : source : 80b3e232d7bae7e9b1b1d00fedae51fd222106dc
2017-09-03 20:22:35 -07:00
Phil Ringnalda
75f9cdbd7e 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
fa32ca3d1c Bug 1394603 - Infer asserts-if(styloVsGecko, X*2) from asserts(X). r=jryans
MozReview-Commit-ID: BkvMyNYzpkO

--HG--
extra : rebase_source : 8e0cb4a60b7f4935c6dab930065efd85440f5222
2017-09-03 20:22:35 -07:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Morris Tseng
4c2b28386a Bug 1336986 - Mark fails-if for some tests. r=mchang
MozReview-Commit-ID: GSuyY8q6iJO
2017-05-18 10:55:28 +08: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
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
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Ting-Yu Lin
919df843aa Bug 1354975 - Let the frame handles attribute change in ServoRestyleManager::AttributeChanged(). r=heycam
MozReview-Commit-ID: EdvgBnPlP9Y

--HG--
extra : rebase_source : 23acb09872d97f29354f5cac0a0485d88ef13bea
2017-04-07 16:41:33 +08:00
Daniel Holbert
6f23054538 Bug 812687 part 9: Add tests for "order" property's influence on list-numbering, baseline, and focus order in a flexbox. (no review, test-only)
MozReview-Commit-ID: EEkPlCgzknG

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-001b.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-001b.html
2017-04-05 19:31:48 -07:00
Matt Brubeck
04463a6104 Bug 1340683 - stylo: Update stylo test expectations r=KWierso
MozReview-Commit-ID: 54PFVqZfaau

--HG--
extra : rebase_source : abda5f644503f09934918538cfaf5e5e33194689
2017-03-16 11:38:33 -07:00
Sebastian Hengst
b2d8163bfc Bug 1334898 - Remove annotations for OSX<10.9 from layout reftests. r=dholbert
MozReview-Commit-ID: Iq4Ja98TJ7C
2017-01-30 21:03:33 +01: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
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
Mats Palmgren
3e2ab4cb31 Bug 1171419 part 11 - Reftests for grid/flex list-item numbering. 2016-09-01 17:36:23 +02:00
Xidorn Quan
8de66b64b3 Bug 994418 - Renumber list items when computing intrinsic isize. r=roc
--HG--
extra : source : 65c07947ba268b74aa5ebbf2dd4681d68038a548
extra : amend_source : 2284f79dde11000547fed08ff90315d46490702b
2015-11-20 15:29:27 +11:00
Xidorn Quan
a0cff90eee Bug 1142369 - Include padding of generated image in intrinsic isize of bullet frame. r=roc
--HG--
extra : source : 16afdc3d6f1e987f086bb0a378e98ab747699e15
2015-03-12 16:57:08 +11:00
L. David Baron
13ce318418 Bug 1122297 - Adjust existing Mac OS X reftest failure annotations that also show up on 10.10. r=philor
This adjusts existing reftest annotations for tests that fail on 10.8
that are showing up as failing on 10.10 as well to be marked using >=
version tests rather than == version tests.
2015-01-15 18:00:49 -08:00
L. David Baron
eb5285b396 Bug 1121327 patch 2 - Update reftest and crashtest manifests for new OSX variable in condition sandbox. r=ted.mielczarek 2015-01-15 15:07:50 -08:00
Jonathan Kew
92c9e7b15c bug 1019470 - reftest for list-style-image spacing. r=mats 2014-06-04 10:18:55 +01:00
Xidorn Quan
fba7dd3788 Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov 2014-05-30 09:00:26 +01:00
Jonathan Kew
1c5d1b0c1c bug 1017335 - reftest for spacing between bullet and list item in <ul>. r=mats 2014-05-30 08:59:50 +01:00
Phil Ringnalda
8a392caa67 Bug 789761 - Annotate reftests/list-item/numbering-1.html as being a little fuzzy on OS X 10.8
--HG--
extra : rebase_source : 0ceb68088e92c114915290a81dd86f26872f5454
2012-09-09 14:35:24 -07:00
Boris Zbarsky
942cc93041 Bug 601912. Implement <ol reversed>. r=dholbert 2012-09-07 22:30:24 -04:00
Mats Palmgren
c28204bb2d Bug 614969 - Use the primary frame for the display style test. r=bzbarsky 2011-04-04 13:41:02 +02:00