Граф коммитов

914 Коммитов

Автор SHA1 Сообщение Дата
Lee Salzman b53ad6f708 Bug 1593970 - scale subpixel contribution based on ClearType level setting. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D52441

--HG--
extra : moz-landing-system : lando
2019-11-09 13:03:47 +00:00
Andrew Osmond 7243a387ca Bug 1575258 - Make text rasterize, render and snap glyphs consistently. r=lsalzman
The glyph pixel space in which we rasterized glyphs differed from how we
rendered the rasterized glyphs in the shader. They need to be in
agreement because the glyph subpixel offset selected during
rasterization depends on it. This patch should make the paths consistent
with each other.

Additionally, during animations, we now snap the reference frame
relative offset ignoring the impact of any animated transforms. This
helps with minimizing glyph wiggling during the transition.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 12:17:43 +00:00
Cosmin Sabou ac35928c0f Backed out changeset 4c4b65f3e7fb (bug 1575258) for causing wrench bustages. CLOSED TREE
--HG--
extra : rebase_source : b27ff2fc38aa0fb3d83aa3841ff92e5f1916a4c0
2019-11-05 15:54:39 +02:00
Andrew Osmond 19674dcc8a Bug 1575258 - Make text rasterize, render and snap glyphs consistently. r=lsalzman
The glyph pixel space in which we rasterized glyphs differed from how we
rendered the rasterized glyphs in the shader. They need to be in
agreement because the glyph subpixel offset selected during
rasterization depends on it. This patch should make the paths consistent
with each other.

Additionally, during animations, we now snap the reference frame
relative offset ignoring the impact of any animated transforms. This
helps with minimizing glyph wiggling during the transition.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 11:58:01 +00:00
Oriol Brufau f57eb64b4c Bug 1588760 - Move css-lists reftests into WPT r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D49278

--HG--
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001-ref.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001a.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001b.html
extra : moz-landing-system : lando
2019-11-01 04:27:32 +00:00
Lee Salzman aa1e343c59 Bug 1592790 - add some more Android WebRender fuzz. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51290

--HG--
extra : moz-landing-system : lando
2019-10-31 17:15:10 +00:00
Lee Salzman 51d4ee6895 Bug 1591996 - more fuzz for Skia m79 update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51189

--HG--
extra : moz-landing-system : lando
2019-10-30 21:57:00 +00:00
Lee Salzman 6e3b197012 Bug 1591996 - fuzz for Skia m79 update. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D50827

--HG--
extra : moz-landing-system : lando
2019-10-28 21:42:05 +00:00
Daniel Holbert f95dd888e1 Bug 1562057: Change size-contained & empty select elements to have the same inline-size. r=TYLin
Per the css-contain specification, size contained elements must be sized as if
they were empty. Up until now, we've been handling that by just using "0" as
the intrinsic size of some components, but that doesn't actually match the size
of a "true" empty select, which has some nonzero width from:
 (a) the default inline-axis padding on the display frame (added in a rule for
     the ::-moz-display-comboboxcontrol-frame pseudo, in forms.css).

 (b) the width (inline-size) of the display frame's "placeholder" space
     character, which has a small intrinsic width (but which really only exists
     for *block-axis* sizing and alignment, when no option is selected from
     the dropdown).

This patch addresses issue (a) by explicitly adding the display frame's
inline-axis padding to size-contained elements, and it addresses issue (b) by
changing to use a zero-width space character in empty select elements.

So: as of this patch, size-contained select elements are getting a little wider
(to address (a)), and empty select elements are also getting a little skinnier
(to address (b)), and they'll end up being the same width.

(I chose U+FEFF "zero-width non-breaking-space" since we were previously using
a non-breaking space character. I'm not sure if the non-breaking aspect matters,
but I figured I'd preserve that to be on the safe side.)

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

--HG--
extra : moz-landing-system : lando
2019-10-12 16:11:54 +00:00
Ting-Yu Lin fa66dbfbaa Bug 1102175 Part 2 - Modify the reference file for 817406-4.html, and update test expectations. r=jfkthame
In 817406-4.html, `<body style="direction: rtl;">` needs to propagate up
to `<html>`, so we should compare its result to 817406-1-ref.html.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 22:16:46 +00:00
Narcis Beleuzu 40436ca8a7 Backed out changeset a8ea98346a87 (bug 1562057) for reftest failures on contain-size-select-elem-002 . CLOSED TREE 2019-10-11 21:12:58 +03:00
Daniel Holbert c0534692fd Bug 1562057: Change size-contained & empty select elements to have the same inline-size. r=TYLin
Per the css-contain specification, size contained elements must be sized as if
they were empty. Up until now, we've been handling that by just using "0" as
the intrinsic size of some components, but that doesn't actually match the size
of a "true" empty select, which has some nonzero width from:
 (a) the default inline-axis padding on the display frame (added in a rule for
     the ::-moz-display-comboboxcontrol-frame pseudo, in forms.css).

 (b) the width (inline-size) of the display frame's "placeholder" space
     character, which has a small intrinsic width (but which really only exists
     for *block-axis* sizing and alignment, when no option is selected from
     the dropdown).

This patch addresses issue (a) by explicitly adding the display frame's
inline-axis padding to size-contained elements, and it addresses issue (b) by
changing to use a zero-width space character in empty select elements.

So: as of this patch, size-contained select elements are getting a little wider
(to address (a)), and empty select elements are also getting a little skinnier
(to address (b)), and they'll end up being the same width.

(I chose U+FEFF "zero-width non-breaking-space" since we were previously using
a non-breaking space character. I'm not sure if the non-breaking aspect matters,
but I figured I'd preserve that to be on the safe side.)

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

--HG--
extra : moz-landing-system : lando
2019-10-11 16:51:41 +00:00
Gurzau Raul 5542cedd05 Backed out 4 changesets (bug 1102175) for Android reftest failures at font-inflation-1a.html
Backed out changeset 33914610f60f (bug 1102175)
Backed out changeset 004a0cb8af9f (bug 1102175)
Backed out changeset 2ac28b335c3c (bug 1102175)
Backed out changeset 50b041e06f23 (bug 1102175)
2019-10-10 07:40:38 +03:00
Ting-Yu Lin 13b040befc Bug 1102175 Part 2 - Modify the reference file for 817406-4.html, and update test expectations. r=jfkthame
In 817406-4.html, `<body style="direction: rtl;">` needs to propagate up
to `<html>`, so we should compare its result to 817406-1-ref.html.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 22:11:09 +00:00
Lee Salzman 458e27120e Bug 1583797 - adjust webrender fuzz for border-image-repeat-round-2.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47934

--HG--
extra : moz-landing-system : lando
2019-10-02 16:40:58 +00:00
Boris Chiou 1161a0a322 Bug 1510486 - Add reftests for creating stacking-context and fixpos containing block on individual transforms. r=hiro
To make sure the test coverage is enough for individual transforms.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 21:52:32 +00:00
Brad Werth 3f5604e1cf Bug 1384266 Part 2: Add a test of baseline in flex sideways-rl container. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D45425

--HG--
extra : moz-landing-system : lando
2019-09-30 21:07:35 +00:00
Geoff Brown d964f2d601 Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 16:34:16 +00:00
Ting-Yu Lin 2c9b42d617 Bug 1547160 - Update comments for expected column-span test failures. r=dbaron
multicol-span-all-margin-bottom-001.xht and multicol-span-none-001.xht
have been patched upstream. They should pass after we import from wpt.

DONTBUILD because this is a comment-only change.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 19:00:36 +00:00
L. David Baron e09d436481 Bug 1220352 - Make baseline positioning in vertical writing-mode independent of border and padding. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D47014

--HG--
extra : moz-landing-system : lando
2019-09-25 20:47:35 +00:00
Cosmin Sabou 6da90eb0b7 Backed out 9 changesets (bug 1551088) for causing Bug 1583848. a=backout
Backed out changeset d0ab25c226a7 (bug 1551088)
Backed out changeset 9ef391e20fa6 (bug 1551088)
Backed out changeset 3e6f25b21f8c (bug 1551088)
Backed out changeset 5d72c8de4daf (bug 1551088)
Backed out changeset f77c43bcc75b (bug 1551088)
Backed out changeset 9e954d6765de (bug 1551088)
Backed out changeset d90a571e581f (bug 1551088)
Backed out changeset 25a5f5563e9d (bug 1551088)
Backed out changeset bed9c93eeb2d (bug 1551088)
2019-09-25 18:42:48 +03:00
Mihai Alexandru Michis fe884640eb Bug 1551088 - Update fuzzy range for background/border-image-repeat-round-2.html a=fix CLOSED TREE
--HG--
extra : rebase_source : d827e687a7a481c6ca9653ac52bada210388a6a0
2019-09-25 02:26:31 +03:00
L. David Baron 8282644722 Bug 1581718 - Avoid strange results for orthogonal-flow cases in CalculateBlockSideMargins when border/padding/margin are present. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D46143

--HG--
extra : moz-landing-system : lando
2019-09-17 22:44:19 +00:00
Dorel Luca 3700d0e0a5 Backed out 2 changesets (bug 1581718) for Crashtest failures in reftest/tests/layout/generic/crashtests/334148-1.xhtml
Backed out changeset 03ed5549fb82 (bug 1581718)
Backed out changeset 31c54bb6faff (bug 1581718)

--HG--
extra : rebase_source : 83f93617e4fd914663bb47875a53aa5cd602dbb9
2019-09-18 00:06:53 +03:00
Dorel Luca b72e71eaa5 Backed out changeset 0579d0d5f0c0 (bug 1562057) by dev's request. CLOSED TREE 2019-09-17 21:07:34 +03:00
L. David Baron 8e1bd9128f Bug 1581718 - Avoid strange results for orthogonal-flow cases in CalculateBlockSideMargins when border/padding/margin are present. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D46143

--HG--
extra : moz-landing-system : lando
2019-09-17 14:27:24 +00:00
Ting-Yu Lin 9b17ca23e1 Bug 1579295 followup - Replace <body> with <main> for shape-outside-margin-box-border-radius-008-ref.html. r=jfkthame
The test file is replaced manually in the main patch.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 17:33:38 +00:00
fantasai d9d30c73ad Bug 1315892 - 'text-orientation: upright' forces used 'direction' to LTR. r=jfkthame 2019-09-16 09:23:30 +09:00
Florian Rivoal 9ead971a06 Bug 1562057 - Make empty <select> elements the same size as size-contained ones. r=dholbert
Per the css-contain specification, size contained element must be sized as if
they were empty. The code added to handle size containment shortciruits the
(inline) size calculations, and returns 0. However, an empty <select> element
is rendered as if it contained a &nbsp; and some padding gets added to it by
the UA stylesheet (forms.css). This causes reftest that check that
size-contained <select> elements and empty ones look the same.

This commit fixes this by also shortcircuiting the (inline) size calculations
and returning 0 for empty <select> elements.

Replacing the &nbsp; by a zero width space would not have been enough, since
padding would still be added. It would have been possible to add it in the
inline size calculations of size-contained <select> elements as well, but this
padding serves not purpose when the element is empty, so removing it from there
has no downside, and shortcircuitig both cases is simpler (and marginally
faster) than adding the padding in both cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:37:55 +00:00
Ting-Yu Lin f7a04c3339 Bug 1523582 Part 5 - Update test expectations. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D44029

--HG--
extra : moz-landing-system : lando
2019-09-09 17:42:18 +00:00
Ting-Yu Lin 30ef7a225a Bug 1523582 Part 4 - Support comment at the end of line in failures.list, and regenerate reftest.list. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D44028

--HG--
extra : moz-landing-system : lando
2019-09-09 17:42:16 +00:00
Ting-Yu Lin ea46baf631 Bug 1579295 - Replace <body> with <main> for shape-outside tests. r=jfkthame
To prevent these tests depending on Bug 1102175 to pass because they
specify "direction" or "writing-mode" on <body>, replace <body> with
<main>. This patch doesn't change the meaning of the tests.

Except for shape-outside-margin-box-border-radius-008.html, which is
modified manually, all the other files are modified by the follow Python
3 script.

```
import fileinput
import glob

open_tag_before = '<body class="container">'
open_tag_after = '<main class="container">'

end_tag_before = '</body>'
end_tag_after = '</main>'

match_files = 'layout/reftests/w3c-css/submitted/shapes1/*.html'

with fileinput.FileInput(glob.glob(match_files), inplace=True) as f:
    found_open_tag = False
    for line in f:
        if not found_open_tag:
            line_open_tag = line.replace(open_tag_before, open_tag_after)
            if line_open_tag != line:
                print(line_open_tag, end='')
                found_open_tag = True
            else:
                print(line, end='')
        else:
            # Continue search for end tag
            line_end_tag = line.replace(end_tag_before, end_tag_after)
            if line_end_tag != line:
                print(line_end_tag, end='')
                found_open_tag = False
            else:
                print(line, end='')

```

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

--HG--
extra : moz-landing-system : lando
2019-09-06 08:25:39 +00:00
Daniel Holbert 96c4bc8f3b Bug 1577053 part 3: Add lang="ja" to text-emphasis reftest files that weren't regenerated by the scripts in the support subfolder. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44259

--HG--
extra : moz-landing-system : lando
2019-08-31 01:11:14 +00:00
Daniel Holbert 37b0bae570 Bug 1577053 part 2: Re-run scripts to generate text-emphasis-* reftests. r=jfkthame
This patch was generated by running each of the scripts in the folder
layout/reftests/w3c-css/submitted/text-decor-3/support/

(This patch also includes a manual edit to reftest.list, to annotate some Win7
fuzziness that was caused by the new choice of font for a set of tests here.)

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:11:07 +00:00
Daniel Holbert ed680a9c13 Bug 1577053 part 1: Update generate-text-emphasis-* test creation scripts to add lang="ja". r=jfkthame
Also, adjust the scripts to leave behind a note in each generated HTML file, to
tell the reader that the file is auto-generated.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:10:58 +00:00
Ting-Yu Lin 206960605d Bug 1569701 Part 2 - Use ColumnSetWrapper's effective computed content block-size to impose constraint for ColumnSet. r=dbaron
Run broken-column-rule-1.html with column-span enabled because it was
regressed by Bug 1548100 Part 2, but fixed by this patch.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 16:59:13 +00:00
Ting-Yu Lin 30b01f4f60 Bug 1572912 - Enable column-span preference to fix existing test failures. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D41496

--HG--
extra : moz-landing-system : lando
2019-08-12 04:32:34 +00:00
L. David Baron 85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
L. David Baron 7f14d882ae Bug 1561792 - Handle dynamic changes of gfx.font_ahem_antialias_none (and make FlushFontAndWordCaches stronger for other callers) and fix a few test failures/intermittents using it. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41067

--HG--
extra : moz-landing-system : lando
2019-08-07 20:44:35 +00:00
Ting-Yu Lin b14d39764b Bug 1548100 Part 2 - Fix the block-size of the column-rule by consuming available block-size. r=dbaron
After enabling column-span, ColumnSet becomes an anonymous child under
ColumnSetWrapperFrame. It doesn't need to handle border and padding,
containment, and non-auto block-size. ColumnSet's final block-size is
simply the union of ::-moz-column-content frames' rects.

However, we should extend ColumnSet's block-size to consume the
available block-size if the ColumnSetWrapper's block-size is constrained
so that the column rules are drawn to the block-end edge of the multicol
container.

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

--HG--
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-001.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-002.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-span-all-rule-001.html.ini
extra : moz-landing-system : lando
2019-08-01 22:48:55 +00:00
Ciure Andrei 8a5a8ec27a Backed out 2 changesets (bug 1548100) for causing nsColumnSetFrame.cpp perma asertion failures CLOSED TREE
Backed out changeset a06a6a6e1c5e (bug 1548100)
Backed out changeset 03a11c109d07 (bug 1548100)
2019-08-02 00:44:55 +03:00
Ting-Yu Lin e65d961df7 Bug 1548100 Part 2 - Fix the block-size of the column-rule by consuming available block-size. r=dbaron
After enabling column-span, ColumnSet becomes an anonymous child under
ColumnSetWrapperFrame. It doesn't need to handle border and padding,
containment, and non-auto block-size. ColumnSet's final block-size is
simply the union of ::-moz-column-content frames' rects.

However, we should extend ColumnSet's block-size to consume the
available block-size if the ColumnSetWrapper's block-size is constrained
so that the column rules are drawn to the block-end edge of the multicol
container.

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

--HG--
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-001.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-002.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-span-all-rule-001.html.ini
extra : moz-landing-system : lando
2019-08-01 00:03:22 +00:00
Daniel Holbert c66b95d09e Bug 1565384 part 1: When an embedded SVG document has an aspect-ratio change, trigger a reflow if 'object-fit' is set on the embedding element. r=emilio
If the embedding element uses `object-fit`, then that indicates it's precisely
positioning and/or sizing the embedded SVG document's viewport to fit inside
the embedding element's content area.  So, when the internal SVG viewBox
changes, then the embedding element needs to redo that positioning/sizing.  For
now, this specifically requires a reflow (and in particular, the nsViewManager
adjustments at the end of nsSubDocumentFrame::Reflow).

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

--HG--
extra : moz-landing-system : lando
2019-07-17 00:58:57 +00:00
Boris Chiou 1f9cb879fe Bug 1559276 - Part 1: Avoid using 3 valued syntax for position. r=emilio
Update the existing reftests to not use 3 valued syntax.

I run the script to update the syntax in
`layout/reftests/w3c-css/submitted/images3/*`,
`layout/reftests/w3c-css/submitted/masking/*`,
`layout/reftests/xul/*`, and
`layout/reftests/webm-video/*`:
```
function rename() {
    find layout/reftests/\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xul" \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "object-position: top 3px center" "object-position: top 3px left 50%"
rename "object-position: center right 25%" "object-position: top 50% right 25%"
```

For `layout/reftests/svg/svg-integration/clip-path/*`, I just manually
update them.

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

--HG--
extra : moz-landing-system : lando
2019-07-10 20:25:23 +00:00
Kartikaya Gupta ec2096ed3f Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-04 21:57:48 +00:00
Coroiu Cristina 3983fddf6d Backed out 6 changesets (bug 1525314) for reftest failures at reftests/svg/filters/css-filters/saturate-zero.html om a CLOSED TREE
Backed out changeset 0ed2509b7191 (bug 1525314)
Backed out changeset af72d1c4c107 (bug 1525314)
Backed out changeset ab21a3ff4ae4 (bug 1525314)
Backed out changeset 02399933ac4b (bug 1525314)
Backed out changeset 95790a07a93c (bug 1525314)
Backed out changeset 28f52fd3934e (bug 1525314)
2019-07-05 00:29:12 +03:00
Kartikaya Gupta c08a0b6539 Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Depends on D36797

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:13:33 +00:00
Daniel Holbert b459034009 Bug 1562312: Implement 'contain:size' for <select multiple> elements. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D36418

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004.html
extra : moz-landing-system : lando
2019-07-02 18:40:17 +00:00
Daniel Holbert 2bfc73da09 Bug 1476127: Implement 'contain:size' for select elements. r=TYLin
Note that this is an imperfect implementation, in that it doesn't exactly
match the sizing behavior of a truly empty `<select>` element.  I've filed
followup bug 1562057 on that.  However, the behavior that's implemented
here *does* successfully make us ignore a `<select>`'s contents for sizing
purposes, and it's much better than what we do currently (which is pretty
broken via inheriting a partial `contain:size` implementation from our
parent class, nsBlockFrame).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:32:13 +00:00
Daniel Holbert b43696ca71 Bug 1561717 part 2: Add "elem" suffix to reftests "contain-size-select-*", to avoid name collisions with other WPT tests, and add spec link. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D36222

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002.html
extra : moz-landing-system : lando
2019-06-27 18:10:46 +00:00