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

938 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert d9f0f29514 Bug 1639627: [css-flex] Make flex-container percent 'row-gap' values resolve to 0, when they're resolved against an indefinite block-size. r=TYLin
This implements a CSSWG resolution in this issue:
https://github.com/w3c/csswg-drafts/issues/5081

This also effectively backs out our changes from
https://bugzilla.mozilla.org/show_bug.cgi?id=1473047
which is where we implemented our current behavior.

Note that there's no change for column-gap behavior, because this resolution is
only about block-axis sizes, which is always the "row"/row-gap axis (regardless
of the flex container's orientation / writing-mode).

I'm fixing the reftest that we have on this behavior to expect that all of its
row-gaps (which are all in the affected category) resolve to 0; and I'm
adjusting our expectations for its WPT reimport to expect failure until the
test changes have made the roundtrip back into our WPT reimport.

(Thanks to David Grogan for the new informational <link> & <meta>-tags in the
testcase.)

Differential Revision: https://phabricator.services.mozilla.com/D76186
2020-05-20 22:02:38 +00:00
Emilio Cobos Álvarez 3e3dc71cba Bug 1631887 - Claim to support NonDisappearingScrollbarWidth on the non-native theme. r=spohl
This is used by platforms with overlay scrollbars, only in order to
reserve enough space for the chevron of the `<select>` element.

So our general min-widget-size, which is the same as for scrollbars
works.

Differential Revision: https://phabricator.services.mozilla.com/D71825
2020-04-22 17:45:39 +00:00
Daniel Holbert 6b0d04e8fd Bug 1626459: Simplify test annotations/code to assume that CSS Containment is preffed on by default. r=AlaskanEmily
i.e. remove annotations that manually enable the property, and remove the
property_database.js check that tests for the property being enabled.

We've been shipping with the property enabled ever since Firefox 69, so we're
realistically not going to default-disable it at this point, which means these
annotations (and the property_database.js check) are just cruft.

Differential Revision: https://phabricator.services.mozilla.com/D69128
2020-04-20 17:31:48 +00:00
Nicolas Silva d7b234f7d6 Bug 1624796 - Adjust reftest fuzziness. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68174

--HG--
extra : moz-landing-system : lando
2020-03-26 16:43:03 +00:00
Nicolas Silva 2876ae4b84 Bug 1616901 - Yet more reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67899

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Nicolas Silva bc13f4444a Bug 1616901 - Adjust reftest expectations. r=jrmuizel
I suspect the number of texture array layers impacts some arithmetic realted to how the GL implementation deals with texture coordinates. These refetests started failing more consistently (though not 100% of the time) with the patch that sets the number of rgba8 linear texture array laters to 16.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 15:29:59 +00:00
Emilio Cobos Álvarez d9d7f09456 Bug 1619428 - Make the overlay scrollbars check work in all platforms. r=mstange
Reuse the AddXULMinSize logic which already deals with all the widget stuff,
non-themed scrollbars, etc.

Remove some useless margin declarations and such in GeckoView scrollbars code
now that AddXULMinSize does look at the min-width/height properties.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 20:30:52 +00:00
Ting-Yu Lin 6e86f371b1 Bug 1598754 Part 2 - Remove the infrastructure that imports wpt tests. r=dbaron
The last css suite (css-writing-modes) is removed in Part 1. We can
remove the infrastructure.

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

--HG--
extra : moz-landing-system : lando
2020-03-02 00:40:13 +00:00
Ting-Yu Lin b544339806 Bug 1598754 Part 1 - Remove w3c-css/received/css-writing-modes reftests. r=dbaron
See bug 1598754 comment 1 for an analysis and observation after aligning
the pass/fail state with wpt.

This patch is generated by
1. removing `os.path.join("css-writing-modes"),` in import-tests.py.
2. removing the relevent annotations of css-writing-modes in failures.list.
3. running import-tests.py on a wpt repository at commit
   15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2020-03-02 00:40:07 +00:00
Andrew Halberstadt 4d752c4ca7 Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron
With the new 'defaults' key being added, 'default-preferences' is now
redundant. This commit converts all existing uses of 'default-preferences' to
use 'defaults' instead.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 18:47:54 +00:00
Andrew Halberstadt e08b5215e1 Bug 1616368 - [reftest] Implement ability to set manifest-level defaults r=dbaron
This introduces a new 'defaults' key to reftest manifests. It works similarly
to the existing 'default-preferences' key except it can be used for any test
modifier (e.g, skip-if, fail-if, pref, etc.).

See the changes to README.txt in this commit for an explanation on how to use
it.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:04:18 +00:00
Ting-Yu Lin a98c9b3ceb Bug 1598753 - Remove w3c-css/received/css-values reftests. r=dbaron
See bug 1598753 comment 1 for the analysis.

This patch is generated by
1. removing `os.path.join("css-values"),` in import-tests.py
2. removing the relevent annotations of css-values
3. running import-tests.py on a wpt repository at commit
   15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 23:33:23 +00:00
Ting-Yu Lin f6dd475e70 Bug 1598751 - Remove w3c-css/received/css-conditional reftests. r=dbaron
No test in css-conditional reftests are failures, which matches
testing/web-platform/meta/css/css-conditional.

This patch is generated by
1. manually removing `os.path.join("css-conditional"),` in import-tests.py, and
2. running import-tests.py on a wpt repository at commit
   15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 02:59:07 +00:00
Nicolas Silva e6772d15e4 Bug 1608156 - Adjust reftest expectations. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D59900

--HG--
extra : moz-landing-system : lando
2020-01-23 14:26:39 +00:00
Glenn Watson 90a55d388c Bug 1608741 - Part 2 - Disable dithering on gradient primitives. r=sotaro,nical
There are a number of issues with the current gradient dithering
implementation, that cause many test failures and also fuzziness
rendering when enabling DirectComposition virtual surfaces. In
particular, the dither result is dependent on the offset of the
update rect within a render target.

For now, this patch disables gradient dithering by default. This
gives us:

 - A heap of new test PASS results (or reduced fuzziness).
 - Fixes a number of non-deterministic fuzziness bugs with DC.
 - Improves performance of gradient rendering by a reasonable amount.

We can fix gradient dithering as a follow up, and re-enable if/when
we find content that would benefit from it significantly (we may
be able to improve gradients in other ways than dithering too).

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

--HG--
extra : moz-landing-system : lando
2020-01-22 01:24:14 +00:00
Ting-Yu Lin 349e6afe6b Bug 1499281 - Remove column-span pref in reftest.list/crashtest.list, and remove duplicate reftest runs. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58401

--HG--
extra : moz-landing-system : lando
2019-12-31 16:23:30 +00:00
Justin Wood 80b492019d Bug 1559975 - Make layout/reftests/ lint with 'py2' and 'py3' r=catlee
Depends on D36094

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:52 +00:00
Ting-Yu Lin 3998ae4396 Bug 1598755 Part 2 - Remove w3c-css/received/selectors reftests. r=dbaron
bug 1598755 comment 1 contains an analysis to align wpt's test results
with our own reftest framework, so it is ok to remove these reftests.

In this patch, the manual modifications are
1. removing `os.path.join("selector"),` in import-tests.py, and
2. removing relevant annotations in failures.list.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

Depends on D58023

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

--HG--
extra : moz-landing-system : lando
2019-12-20 20:08:48 +00:00
Ting-Yu Lin dc8592b28f Bug 1598749 - Remove w3c-css/received/css-namespaces reftests. r=dbaron
These reftests can be safely removed because all css-namespace tests are
pass in both received/reftest.list and wpt reftests (no
testing/web-platform/meta/css/css-namespaces folder).

The only manual modification in this patch are removing
`os.path.join("css-namespaces"),` in import-tests.py.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

Depends on D56376

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:58:06 +00:00
Ting-Yu Lin aa1e127bcb Bug 1598749 - Make ./import-tests.py work for python installed at different paths. r=dbaron
When executing `./import-tests.py` in a python virtualenv, the path of
the python interpreter won't be at /usr/bin/python. By using
`/usr/bin/env python`, it works as the system can find a python
interpreter in $PATH.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:56:15 +00:00
Ting-Yu Lin 373306dcc0 Bug 1594937 - Remove w3c-css/received/css-multicol reftests. r=dbaron
Bug 1594937 comment 2 provides an analysis on why it is OK to remove
css-multicol reftests.

The manual modifications in this patch are:
- Remove `os.path.join("css-multicol")` in import-tests.py.
- Remove css-multicol lines in failures.list
- Migrate geckoview only failures annotations (bug 1558509) in failures.list
  to wpt ini files.
- Add fuzzy-if annotation to dom/tests/reftest/bug453105.html for Android.
  (bug 1600534)

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 02:21:53 +00:00
Cosmin Sabou f559512182 Backed out changeset 148081b861c8 (bug 1594937) for reftest failures on bug453105.html. 2019-11-23 07:19:55 +02:00
Ting-Yu Lin 5fa3794d17 Bug 1594937 - Remove w3c-css/received/css-multicol reftests. r=dbaron
Bug 1594937 comment 2 provides an analysis on why it is OK to remove
css-multicol reftests.

The manual modifications in this patch are:
- Remove `os.path.join("css-multicol")` in import-tests.py.
- Remove css-multicol lines in failures.list
- Migrate geckoview only failures annotations (bug 1558509) in failures.list
  to wpt ini files.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 20:50:42 +00:00
Boris Chiou 52546e8558 Bug 1596610 - Set WillChangeBits::TRANSFORM for offset-path and add tests for it. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D53109

--HG--
extra : moz-landing-system : lando
2019-11-16 01:52:32 +00:00
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