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

10745 Коммитов

Автор SHA1 Сообщение Дата
Joel Maher f8875234b3 Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 18:54:51 +00:00
Bogdan Tara a5112d03db Backed out changeset 97280448a042 (bug 1621095) for test_ext_test.html failures CLOSED TREE 2020-04-24 17:09:37 +03:00
Joel Maher b9a6e9d31c Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 12:35:12 +00:00
Daniel Holbert 4adb473174 Bug 1626458 part 1: Remove pref for CSS Containment (layout.css.contain.enabled) r=AlaskanEmily
(Since we've been shipping with it default-enabled for a while now.)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1466008#c9 through #c13 for
notes on the reftest.list change.

Differential Revision: https://phabricator.services.mozilla.com/D71861
2020-04-23 05:01:07 +00:00
Emilio Cobos Álvarez baf8258542 Bug 1631887 - And another one.
MANUAL PUSH: If you're reading this you're probably tired of me, sorry :/

CLOSED TREE
2020-04-23 01:31:20 +02:00
Emilio Cobos Álvarez efb0724ab2 Bug 1631887 - And fuzz a couple more.
MANUAL PUSH: Same, android forms, CLOSED TREE
2020-04-22 23:27:57 +02:00
Emilio Cobos Álvarez 06bc48973d Bug 1631887 - This arrow sure is fuzzy.
MANUAL PUSH: Greening up Android orange CLOSED TREE.
2020-04-22 22:09:53 +02:00
Emilio Cobos Álvarez 36886103cf Bug 1631887 - Fuzz one more test.
MANUAL PUSH: orange because android graphics are a pain on a CLOSED TREE
2020-04-22 21:48:31 +02: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
Miko Mynttinen bb9823e787 Bug 1629011 - Recurse into block wrappers when marking preserve-3d frames for display list building r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D71783
2020-04-22 06:06:59 +00:00
Bogdan Tara 245fef246f Backed out changeset 2c50d92db013 (bug 1631687) for reftests failures on default-subregion.svg and mix-blend-mode-and-filter.svg CLOSED TREE 2020-04-22 00:49:49 +03:00
Glenn Watson ff1ce2738f Bug 1631687 - Remove per-primitive surface inflation r=kvark
It's no longer required, since we inflate the picture and
surface rects directly.

Differential Revision: https://phabricator.services.mozilla.com/D71712
2020-04-21 12:40:48 +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
Daniel Varga 0d3538392f Backed out 3 changesets (bug 1629490) fo causing reftest failures at layout/reftests/image/img-invalidation-local-transform-1.html
Backed out changeset de2ced51599d (bug 1629490)
Backed out changeset f997fe14a6a5 (bug 1629490)
Backed out changeset ba69034f5207 (bug 1629490)
2020-04-20 06:03:35 +03:00
Timothy Nikkel d265f352ce Bug 1629490. Add a crashtest and a mochitest. r=aosmond
The mochitest caught the issue of the second patch here so there is value in both it seems.

Differential Revision: https://phabricator.services.mozilla.com/D71484
2020-04-19 23:02:34 +00:00
Robert Longson 46d24ea87e Bug 1581691 - make transform-origin a mapped CSS attribute r=heycam,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D63016
2020-04-18 05:10:29 +00:00
Cosmin Sabou 52b7bc2fa6 Backed out changeset 136b9329a6f7 (bug 1581691) for failures on svg/styling/presentation-attributes-relevant.html. 2020-04-18 06:15:10 +03:00
Robert Longson 650b69563f Bug 1581691 - make transform-origin a mapped CSS attribute r=heycam,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D63016
2020-04-18 01:32:40 +00:00
Cameron McCormack e91f99f8e1 Bug 1616411 - Part 7: Tests. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70277
2020-04-17 02:57:49 +00:00
Ting-Yu Lin 71de052a6a Bug 1627125 Part 7 - Add reftests for flex containers with "box-decoration-break: clone" and unbreakable children. r=dholbert
These reftests are copied from flexbox-unbreakable-child-1-*.html and
flexbox-unbreakable-child-1-*-wrap.html with "box-decoration-break:
clone" added to the flex container.

Note that flexbox-unbreakable-child-3-ref.html is redesigned. It is not
copied from flexbox-unbreakable-child-1-ref.html with
"box-decoration-break: clone" added because the bottom border doesn't
show up in sub-test 3 & 4. (bug 1564726 perhaps?)

Differential Revision: https://phabricator.services.mozilla.com/D69475
2020-04-16 19:24:03 +00:00
Miko Mynttinen 0075ba9551 Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel
This patch fixes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity. This was broken because WebRenderCommandBuilder did not invalidate the mask image when this decision changed.
- The second optimization applies opacity directly to stacking context in |nsDisplayMasksAndClipPaths::CreateWebRenderCommands()| with non-polygonal clip-paths. This was relying on the above optimization incorrectly triggering, which flattened away the opacity container. However, if the nsDisplayOpacity was active or contained more than one item, the opacity could be applied twice.

Differential Revision: https://phabricator.services.mozilla.com/D68995
2020-04-16 15:39:33 +00:00
Brindusan Cristian c6bf1adfa6 Backed out changeset dfb973b3e25c (bug 1619367) for reftest failures at mask-opacity-invalidation-1.html. CLOSED TREE 2020-04-16 18:21:01 +03:00
Miko Mynttinen addbfb5585 Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel
This patch fixes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity. This was broken because WebRenderCommandBuilder did not invalidate the mask image when this decision changed.
- The second optimization applies opacity directly to stacking context in |nsDisplayMasksAndClipPaths::CreateWebRenderCommands()| with non-polygonal clip-paths. This was relying on the above optimization incorrectly triggering, which flattened away the opacity container. However, if the nsDisplayOpacity was active or contained more than one item, the opacity could be applied twice.

Differential Revision: https://phabricator.services.mozilla.com/D68995
2020-04-16 14:08:37 +00:00
Kartikaya Gupta 6172dc3568 Bug 1627326 - Provide more meaningful values for the stuck sides. r=botond,hiro
As described in bug 1630274, this has some unfixed cases, but it should
give good results in most real-world cases, where the magnitude of transient
async scrolling is relatively low.

Depends on D71083

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

--HG--
extra : moz-landing-system : lando
2020-04-16 03:21:06 +00:00
Csoregi Natalia ea673441ce Backed out 8 changesets (bug 1616411) for webgl failures on test_2_conformance__textures__misc__texture-upload-size.html. CLOSED TREE
Backed out changeset 03dd88d53439 (bug 1616411)
Backed out changeset cfee2ce9405d (bug 1616411)
Backed out changeset 0a323c33506f (bug 1616411)
Backed out changeset 1a25353a07b0 (bug 1616411)
Backed out changeset dc64af52b5f8 (bug 1616411)
Backed out changeset 0f54b1b12105 (bug 1616411)
Backed out changeset 4dee3e753e8e (bug 1616411)
Backed out changeset 034a30a6b088 (bug 1616411)
2020-04-16 05:43:16 +03:00
Cameron McCormack 1c996b2686 Bug 1616411 - Part 7: Tests. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70277

--HG--
extra : moz-landing-system : lando
2020-04-16 00:34:46 +00:00
Kartikaya Gupta 96ccdc9b83 Bug 1627362 - Fix WR codepath. r=botond
This patch just ensures the changes in the previous patches get applied
to the WR codepath, and is sufficient to make all the remaining sticky
tests pass on Android+WR.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:05:26 +00:00
Daniel Varga d4cf107320 Backed out changeset a62453df7268 (bug 1619367) for causing web-platform-tests-reftest failures at /css/vendor-imports/mozilla/mozilla-central-reftests/masking/mask-opacity-1a.html
CLOSED TREE
2020-04-15 03:33:47 +03:00
Miko Mynttinen ebb94e2318 Bug 1619367 - Disable SVG opacity optimization with WebRender r=jrmuizel
This patch removes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity
- The second optimization applies opacity directly to stacking context of nsDisplayMasksAndClipPaths with non-polygonal clip-paths

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

--HG--
extra : moz-landing-system : lando
2020-04-14 18:47:03 +00:00
Kartikaya Gupta 12ccbb9268 Bug 1629521 - Fix WR handling of items with both top and bottom sticky ranges. r=kvark
The WR code that computed the sticky_offset didn't properly combine the offsets
from the top- and bottom- sticky calculations if an item had both. This patch
fixes the calculation, which makes the remaining test failure (in the
configuration without any dynamic toolbar) pass.

Depends on D70679

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

--HG--
extra : moz-landing-system : lando
2020-04-13 18:39:07 +00:00
Kartikaya Gupta 4c0c830327 Bug 1629521 - Improve behaviour when items have both top and bottom sticky ranges. r=kvark
The sticky info emitted by Gecko to WR wasn't quite correct in some cases
where sticky items had both top and bottom sticky ranges. This corrects
the info emitted by Gecko. This change makes a few of the failing tests
pass, but also makes one fail. That one failure was previously passing due
to two bugs canceling each other out, and is fixed up in the next patch.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 18:39:07 +00:00
Kartikaya Gupta 35d93025e5 Bug 1628484 - Add a bunch of position:sticky reftests. r=ktaeleman
Failures will be addressed in later bugs. Refer to the text in the reftest.list
file for a brief overview of how the tests are structured.

Depends on D70459

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

--HG--
extra : moz-landing-system : lando
2020-04-14 15:52:22 +00:00
Timothy Nikkel 3a2907746a Bug 1629343. Add test for bug 1469000. r=emilio
I verified that this reproduces the issue by manually un-applying the patch for bug 1469000.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 05:14:17 +00:00
Andrew Osmond 0d2780d86c Bug 455077 - Enable color management for all CSS/images, not just tagged images. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D62510

--HG--
extra : moz-landing-system : lando
2020-04-10 13:02:55 +00:00
Markus Stange 6d0cf4cbed Bug 1546856 - Store mLastPaintOffset at the end of the previous paint rather than at an arbitrary point during the current paint. r=miko
The old code caused GetLastPaintOffset to return an offset from two paints ago if it was called before RecyclePaintedLayer, which can happen when the first item in a painted layer moves to a different layer.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 16:32:08 +00:00
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Kartikaya Gupta 3efe98996f Bug 1424714 - Add a test to ensure sticky position items don't checkerboard unnecessarily. r=mstange
Depends on D68582

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

--HG--
extra : moz-landing-system : lando
2020-04-08 05:03:09 +00:00
Tim Nguyen 8036e4c68a Bug 1627568 - Make css-grid-with-xul-item-1.xhtml test more resilient to failures. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D69750

--HG--
extra : moz-landing-system : lando
2020-04-07 21:21:20 +00:00
Bert Peers 7f2e1717d9 Bug 1624468 - Add a fast path for more gradient types in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D68945

--HG--
extra : moz-landing-system : lando
2020-04-06 07:16:25 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

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

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Kartikaya Gupta 45d7b965a3 Bug 1627779 - Bump fuzz number up slightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69857

--HG--
extra : moz-landing-system : lando
2020-04-06 19:40:32 +00:00
Kris Taeleman 27155b6994 Bug 1610731 - Add more tests for position:fixed and position:sticky. r=botond
Note that the sticky-top test still fails on non-WebRender, but that's outside
the scope of this bug.

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

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-top-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-bottom-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html
extra : moz-landing-system : lando
2020-04-04 06:16:43 +00:00
Kris Taeleman ce7cd3b23c Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 18:52:59 +00:00
Ciure Andrei 3f9e822318 Backed out 8 changesets (bug 1610731) for causing fullscreen related wpt failures CLOSED TREE
Backed out changeset 8d11e5caff2a (bug 1610731)
Backed out changeset 089ef5398b32 (bug 1610731)
Backed out changeset bcbf21dcd7b4 (bug 1610731)
Backed out changeset 0e5823826e91 (bug 1610731)
Backed out changeset d8fbbc7fc65d (bug 1610731)
Backed out changeset c2b1bd759595 (bug 1610731)
Backed out changeset 4162437c7931 (bug 1610731)
Backed out changeset e7d6f26c1019 (bug 1610731)
2020-04-04 09:12:26 +03:00
Kris Taeleman 882b49e414 Bug 1610731 - Add more tests for position:fixed and position:sticky. r=botond
Note that the sticky-top test still fails on non-WebRender, but that's outside
the scope of this bug.

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

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-top-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-bottom-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html
extra : moz-landing-system : lando
2020-04-04 01:26:23 +00:00
Kris Taeleman 1219331fcf Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 01:02:23 +00:00
Brindusan Cristian 66ab7a9660 Backed out 8 changesets (bug 1610731) for reftest failures at dynamic-toolbar-fixed-bottom-1.html. CLOSED TREE
Backed out changeset a26b63d0248e (bug 1610731)
Backed out changeset c33e6fe22774 (bug 1610731)
Backed out changeset 840550c070e8 (bug 1610731)
Backed out changeset 7bffd6eb9ac7 (bug 1610731)
Backed out changeset a383a7100973 (bug 1610731)
Backed out changeset 8f2bae2ca274 (bug 1610731)
Backed out changeset 8d43fbe05f38 (bug 1610731)
Backed out changeset 035432f43d16 (bug 1610731)

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html
2020-04-04 00:47:08 +03:00
Kris Taeleman 6f67e5cdea Bug 1610731 - Add more tests for position:fixed and position:sticky. r=botond
Note that the sticky-top test still fails on non-WebRender, but that's outside
the scope of this bug.

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

--HG--
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-fixed-top-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-bottom-1.html
rename : layout/reftests/async-scrolling/dynamic-toolbar-fixed-bottom-1.html => layout/reftests/async-scrolling/dynamic-toolbar-sticky-top-1.html
extra : moz-landing-system : lando
2020-04-03 18:34:17 +00:00
Kris Taeleman 5ac6d32ba7 Bug 1610731 - Incorporate the top/bottom margins set by reftests. r=botond
This makes the existing test for this codepath start passing on geckoview-qr.

Depends on D69557

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

--HG--
extra : moz-landing-system : lando
2020-04-03 17:34:16 +00:00
Timothy Nikkel e9a1f92b4a Bug 1626259. When computing the scale for a stacking context with webrender look at this stacking context to see if it is preserve 3d and not it's parent to match FrameLayerBuilder::ChooseScale. r=jrmuizel
Back when webrender did not call FrameLayerBuilder::ChooseScale (it was called ChooseScaleAndSetTransform back then until it was factored out in bug 1415987) bug 1449640 landed which made the webrender scale choosing more closely align with FrameLayerBuilder::ChooseScale by not computing a scale of there was preserve3d or perspective involved. That patch had a bug, it looked at the parent stacking context helper to see if it had preserve 3d, but FrameLayerBuilder::ChooseScale looks at the current "stacking context".

This didn't cause a problem in the testcase from this bug until bug 1569215 landed. In the testcase in this bug we have a stacking context with a 2d transform whose parent stacking context is preserve3d. So we pass down the scale from the parent stacking context and completely ignore the scale induced by the 2d transform. Passing 1.f to ChooseScale instead of the parent scale factor "undid" this mistake, so when that was fixed we regressed this testcase.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 01:24:54 +00:00