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

10621 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar 22e0df6b0b Bug 1611710. Don't restrict the draw target to the visible area.
Sometimes the painting code will look at the clip which is derived
from the intial size of the surface and not draw if things if they
are outside of it. We want to draw the entire item so use dtRect
instead of visibleRect.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 03:47:09 +00:00
Hiroyuki Ikezoe cb2312342b Bug 1510030 - A reftest to make sure a background color animation is properly advanced without flushing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63606

--HG--
extra : moz-landing-system : lando
2020-02-27 08:43:11 +00:00
Hiroyuki Ikezoe 28121ce9e6 Bug 1510030 - Enable background color animimations on WebRender. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63605

--HG--
extra : moz-landing-system : lando
2020-02-27 08:43:09 +00:00
Bogdan Tara 0ed6b9ff60 Backed out 6 changesets (bug 1510030) for test_running_on_compositor.html failures CLOSED TREE
Backed out changeset a14a131ca731 (bug 1510030)
Backed out changeset a75359516fec (bug 1510030)
Backed out changeset a2be11cbe3f2 (bug 1510030)
Backed out changeset b37ce2b87ac7 (bug 1510030)
Backed out changeset 781cd96dd9a2 (bug 1510030)
Backed out changeset b3dfa17c6305 (bug 1510030)
2020-02-27 06:28:31 +02:00
Hiroyuki Ikezoe 83c4415e99 Bug 1510030 - A reftest to make sure a background color animation is properly advanced without flushing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63606

--HG--
extra : moz-landing-system : lando
2020-02-27 03:47:52 +00:00
Hiroyuki Ikezoe a81564902a Bug 1510030 - Enable background color animimations on WebRender. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63605

--HG--
extra : moz-landing-system : lando
2020-02-27 03:47:39 +00:00
Bogdan Tara a6ca41945c Backed out 6 changesets (bug 1510030) for webrender bustages CLOSED TREE
Backed out changeset 28a2fba71977 (bug 1510030)
Backed out changeset 1700b3a416cd (bug 1510030)
Backed out changeset 087518046b0c (bug 1510030)
Backed out changeset 6b3af91a7ce6 (bug 1510030)
Backed out changeset 737f4bc3afd3 (bug 1510030)
Backed out changeset 921116ca67a5 (bug 1510030)
2020-02-27 04:45:04 +02:00
Hiroyuki Ikezoe ee2bc06eb8 Bug 1510030 - A reftest to make sure a background color animation is properly advanced without flushing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63606

--HG--
extra : moz-landing-system : lando
2020-02-27 02:05:43 +00:00
Hiroyuki Ikezoe d452f81282 Bug 1510030 - Enable background color animimations on WebRender. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63605

--HG--
extra : moz-landing-system : lando
2020-02-27 02:05:30 +00:00
Cosmin Sabou 074eb7c67b Backed out 6 changesets (bug 1510030) for causing build bustages. CLOSED TREE
Backed out changeset 1bf2a082ca62 (bug 1510030)
Backed out changeset 8b0fd12a063b (bug 1510030)
Backed out changeset ec9c6b79ea42 (bug 1510030)
Backed out changeset cd729f8b0220 (bug 1510030)
Backed out changeset c3e6c17ba7b0 (bug 1510030)
Backed out changeset edc3c212be1f (bug 1510030)
2020-02-27 02:50:40 +02:00
Hiroyuki Ikezoe 3e5cba44e8 Bug 1510030 - A reftest to make sure a background color animation is properly advanced without flushing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63606

--HG--
extra : moz-landing-system : lando
2020-02-26 09:26:30 +00:00
Hiroyuki Ikezoe adf689fcd9 Bug 1510030 - Enable background color animimations on WebRender. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D63605

--HG--
extra : moz-landing-system : lando
2020-02-26 09:26:18 +00:00
Jonathan Kew 92625e728c Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D63828

--HG--
extra : moz-landing-system : lando
2020-02-25 13:42:58 +00:00
Tim Nguyen 46aff81118 Bug 1616994 - Merge layout/reftests/backgrounds/gradient and layout/reftests/css-gradients. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D63559

--HG--
rename : layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation-ref.html => layout/reftests/css-gradients/color-stop-clamp-interpolation-ref.html
rename : layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation.html => layout/reftests/css-gradients/color-stop-clamp-interpolation.html
rename : layout/reftests/backgrounds/gradient/linear-gradient-repeated-ref.html => layout/reftests/css-gradients/linear-gradient-repeated-ref.html
rename : layout/reftests/backgrounds/gradient/linear-gradient-repeated.html => layout/reftests/css-gradients/linear-gradient-repeated.html
rename : layout/reftests/backgrounds/gradient/scaled-color-stop-position-ref.html => layout/reftests/css-gradients/scaled-color-stop-position-ref.html
rename : layout/reftests/backgrounds/gradient/scaled-color-stop-position.html => layout/reftests/css-gradients/scaled-color-stop-position.html
extra : moz-landing-system : lando
2020-02-24 11:40:23 +00:00
Brindusan Cristian de02c75c28 Backed out changeset ca76228564c8 (bug 1616994) for breaking Gecko Decision Task. CLOSED TREE
--HG--
rename : layout/reftests/css-gradients/color-stop-clamp-interpolation-ref.html => layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation-ref.html
rename : layout/reftests/css-gradients/color-stop-clamp-interpolation.html => layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation.html
rename : layout/reftests/css-gradients/linear-gradient-repeated-ref.html => layout/reftests/backgrounds/gradient/linear-gradient-repeated-ref.html
rename : layout/reftests/css-gradients/linear-gradient-repeated.html => layout/reftests/backgrounds/gradient/linear-gradient-repeated.html
rename : layout/reftests/css-gradients/scaled-color-stop-position-ref.html => layout/reftests/backgrounds/gradient/scaled-color-stop-position-ref.html
rename : layout/reftests/css-gradients/scaled-color-stop-position.html => layout/reftests/backgrounds/gradient/scaled-color-stop-position.html
2020-02-24 05:06:24 +02:00
Tim Nguyen 4c05de78b4 Bug 1616994 - Merge layout/reftests/backgrounds/gradient and layout/reftests/css-gradients. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D63559

--HG--
rename : layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation-ref.html => layout/reftests/css-gradients/color-stop-clamp-interpolation-ref.html
rename : layout/reftests/backgrounds/gradient/color-stop-clamp-interpolation.html => layout/reftests/css-gradients/color-stop-clamp-interpolation.html
rename : layout/reftests/backgrounds/gradient/linear-gradient-repeated-ref.html => layout/reftests/css-gradients/linear-gradient-repeated-ref.html
rename : layout/reftests/backgrounds/gradient/linear-gradient-repeated.html => layout/reftests/css-gradients/linear-gradient-repeated.html
rename : layout/reftests/backgrounds/gradient/scaled-color-stop-position-ref.html => layout/reftests/css-gradients/scaled-color-stop-position-ref.html
rename : layout/reftests/backgrounds/gradient/scaled-color-stop-position.html => layout/reftests/css-gradients/scaled-color-stop-position.html
extra : moz-landing-system : lando
2020-02-24 02:06:13 +00:00
Timothy Nikkel 77f147bde2 Bug 1614532. Fix layout/reftests/async-scrolling/disable-apz-for-sle-pages.html. r=kats
In order for the test to pass the scroll event handler needs to run so that a scroll linked effect is detected and apz is disabled. It is triggered by the scrollTo call in the load handler. Which then removes reftest-wait off a setTimeout(..., 0). The scroll event is dispatched from the refresh driver so it can happen after this setTimeout runs. So the scroll handler runs too late to affect the test.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 14:29:42 +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
Razvan Maries 9122f59cc3 Bug 1616369 - Enabled 447749-1.html and 447749-1-ref.html. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D63495

--HG--
extra : moz-landing-system : lando
2020-02-20 16:42:32 +00:00
Emilio Cobos Álvarez 0bc209c210 Bug 1614921 - Ignore background-image on canvas in high-contrast mode. r=morgan
Let's give this a shot.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 15:55:58 +00:00
Andreea Pavel 933ae57c5d Bug 1564891 - increase fuzzy in img-simple-3-ref.html r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63120

--HG--
extra : moz-landing-system : lando
2020-02-18 07:59:07 +00:00
Daniel Varga 8ae244478e Backed out 2 changesets (bug 1614921) for causing reftest failures at layout/reftests/high-contrast/backplate-bg-image-001.html
Backed out changeset 1221e1369f08 (bug 1614921)
Backed out changeset 0551e1798d61 (bug 1614921)

--HG--
extra : rebase_source : 0781cc7d28bbc49af8a2a111a4449e71e1484bce
2020-02-20 06:32:00 +02:00
Emilio Cobos Álvarez 9405bbb880 Bug 1614921 - Adjust some fuzzy values.
Differential Revision: https://phabricator.services.mozilla.com/D63408

--HG--
extra : moz-landing-system : lando
2020-02-19 23:05:26 +00:00
Emilio Cobos Álvarez ca52954456 Bug 1614921 - Ignore background-image on canvas in high-contrast mode. r=morgan
Let's give this a shot.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 20:17:03 +00:00
Jonathan Kew 6fb84382e0 Bug 1611617 - Regenerate mark* test fonts including a <space> glyph so that they are valid as the "first available font" for metrics purposes. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D61191

--HG--
extra : moz-landing-system : lando
2020-02-17 09:32:41 +00:00
Emilio Cobos Álvarez 6d9fd9419f Bug 1615832 - Fix a test after the previous patch.
Differential Revision: https://phabricator.services.mozilla.com/D63003

--HG--
extra : moz-landing-system : lando
2020-02-15 21:30:15 +00:00
Emilio Cobos Álvarez cae4218c68 Bug 1615832 - Fix diagnostics for error paths in sync loads.
This can happen with invalid @import rules in userContent / userChrome.css

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

--HG--
extra : moz-landing-system : lando
2020-02-15 21:27:06 +00:00
Hiroyuki Ikezoe f64788828d Bug 1612649 - Call UpdateImageState in SetDeferredLoad to start with `not broken` state for lazy load images. r=emilio
So that we can generate nsImageFrame for lazy load image elements in the first
place.

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

--HG--
rename : layout/reftests/image/moz-broken-matching-1.html => layout/reftests/image/moz-broken-matching-lazy-load.html
extra : moz-landing-system : lando
2020-02-15 08:45:27 +00:00
Mihai Alexandru Michis 2951da7110 Backed out changeset 6550b62f1fe7 (bug 1555356) for causing reftest failures in SVG files.
CLOSED TREE
2020-02-14 23:59:09 +02:00
Alexis Beingessner 6b442a22a5 Bug 1555356 - Make images inside of SVGs active. r=aosmond
This is done using a similar approach to CreateWebRenderCommands
but slightly modified. In particular the active layer check needs
to be done before we're ready to CreateWebRenderCommands, but once
we decide to activate an item, we can't let CreateWebRenderCommands
fail. Unfortunately, the need to query ImageLib for support means
we need to do basically ~all of the work of CreateWebRenderCommands
to do this check.

As such, this introduces a modified version of CreateWebRenderCommands
that SVGGeometryFrames implement with a "dry run" flag. When true,
it runs the same code but stops short of mutating the WR DL/state.

ImageLib may be encouraged to do some extra work that could be thrown
away, but I'm not sure there's any way to avoid that.

For now, only SVGImageFrame actually provides an implementation. The
bulk of the implementation is handling the on-by-default
preserveAspectRatio feature of SVG images. It was cleaner to just
reimplement that logic than reuse the existing preserveAspectRatio
code, as it was too tangled up in the particulars of how the PaintSVG
path is designed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 14:50:36 +00:00
Brindusan Cristian 73ca873fdb Backed out changeset 3a8a36e50541 (bug 1555356) for reftest failures at pattern-big-image.html. CLOSED TREE 2020-02-13 23:16:11 +02:00
Alexis Beingessner 33d729a0f1 Bug 1555356 - Make images inside of SVGs active. r=aosmond
This is done using a similar approach to CreateWebRenderCommands
but slightly modified. In particular the active layer check needs
to be done before we're ready to CreateWebRenderCommands, but once
we decide to activate an item, we can't let CreateWebRenderCommands
fail. Unfortunately, the need to query ImageLib for support means
we need to do basically ~all of the work of CreateWebRenderCommands
to do this check.

As such, this introduces a modified version of CreateWebRenderCommands
that SVGGeometryFrames implement with a "dry run" flag. When true,
it runs the same code but stops short of mutating the WR DL/state.

ImageLib may be encouraged to do some extra work that could be thrown
away, but I'm not sure there's any way to avoid that.

For now, only SVGImageFrame actually provides an implementation. The
bulk of the implementation is handling the on-by-default
preserveAspectRatio feature of SVG images. It was cleaner to just
reimplement that logic than reuse the existing preserveAspectRatio
code, as it was too tangled up in the particulars of how the PaintSVG
path is designed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 18:39:27 +00:00
Glenn Watson b3eed9d250 Bug 1615111 - Update test expectations with fuzziness for WR. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D62697

--HG--
extra : moz-landing-system : lando
2020-02-13 10:34:01 +00:00
Timothy Nikkel f9339c12e6 Bug 1614233. Properly clip nsDisplayRemote. r=mattwoodrow
The existing code just clipped to a rect. We need to do the same clipping that the non-remote code path does which also handles border radius.

The existing code is the from initial implementation of nsDisplayRemote in https://hg.mozilla.org/mozilla-central/rev/85d06279c8358a8e1c883aa670a20212b1039a90 so I suspect that clipping to the inner view bounds instead of the frame content box is not an important difference.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 07:17:43 +00:00
Glenn Watson 31585fc1e6 Bug 1608717 - Support per-tile clip (valid) region for native compositor implementations. r=sotaro,mstange
For Draw (non-native) and CA modes, we include the per-tile
valid rect in the clip rect from the surface.

For DC (non-virtual) mode, a per-tile clip rect is set on the
visual for each tile, separate from the overall clip rect that
is set on the surface visual.

For DC (virtual) mode, the Trim API is used to remove pixels
in the virtual tile area that are outside the valid / clipped
region.

Note: Although the valid rect is now applied in the native
compositors, it's currently only based on the overall picture
cache bounding rect. Thus, with this patch there isn't any
noticeable performance improvement. Once this lands and is
working correctly, the follow up patch to calculate a smaller
valid region per-tile is a small amount of work.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 04:27:15 +00:00
Timothy Nikkel f4658e4672 Bug 1613143. Don't allow an empty transaction to succeed with webrender if we haven't sent a display list to the parent. r=mattwoodrow
I think this probably only shows up with fission oop iframes, tabs probably avoid this path.

The problem occurs when we reconstruct the containing iframe for a style change, we briefly hide the child document, clearing the display list on the parent via ClearCachedResources. Then show it again, we attempt an empty transaction and this succeeds because there is nothing to stop it. (The non-wr case fails because the layer contents are missing and that causes the empty transaction to fail.)

So keep track if we have sent a display list to the parent to allow/disallow an empty transaction.

This fixes a couple webrender+fission reftest failures but it's also a general rendering bug in webrender+fission reproducible in a regular browser.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 01:40:51 +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
Emilio Cobos Álvarez 451b254453 Bug 1612291 - Fix two issues with themed widgets in high contrast mode. r=heycam
There were two issues with the existing code that we use to determine whether a
widget is styled or not.

First, it was using `color == Color::transparent()` instead of
`color.is_transparent()` to check for transparent backgrounds. That is not sound
as `Color::transparent()` is the literal value `rgba(0, 0, 0, 0)`, not the
`transparent` keyword, so the equality check would fail.

The other issue is that this function was early-returning false if that check
was returning false. It is a bug for this function to early-return false, as it
makes the result of the function dependent of the order of the declarations.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 00:37:36 +00:00
Narcis Beleuzu 3b708c3e29 Backed out changeset a7f4f5a7a8c4 (bug 1604200) for reftest failures on selection-001.html . CLOSED TREE 2020-02-09 00:26:28 +02:00
Emilio Cobos Álvarez 459d1fd97d Bug 1604200 - Try to make high-contrast selection test more reliable. r=mats
Use MozReftestInvalidate rather than onload, following the pattern of most of
the tests in layout/reftests/selection.

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

--HG--
extra : moz-landing-system : lando
2020-02-08 19:18:56 +00:00
Jamie Nicol 1639434188 Bug 1613144 - Add reftest. r=botond
Add a reftest that would fail in webrender before the corresponding
fix landed.

Ensures that there is an async zoom and that both the layout and
visual viewports have async scroll offsets. To pass, we must apply
each of the layout and visual offsets in their correct coordinate
spaces.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 20:45:39 +00:00
shindli 441a09145b Backed out 2 changesets (bug 1613144) for causing reftest failures CLOSED TREE
Backed out changeset 8124309e0bbe (bug 1613144)
Backed out changeset d5d9bf5b8d20 (bug 1613144)
2020-02-07 22:36:52 +02:00
Jamie Nicol 6dc544f0bc Bug 1613144 - Add reftest. r=botond
Add a reftest that would fail in webrender before the corresponding
fix landed.

Ensures that there is an async zoom and that both the layout and
visual viewports have async scroll offsets. To pass, we must apply
each of the layout and visual offsets in their correct coordinate
spaces.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 13:23:21 +00:00
Ting-Yu Lin c26c7aeb90 Bug 1613380 - Use FlexboxAxisTracker's main axis to initialize strut FlexItem's mMainAxis. r=dholbert
Annotate optiontext.html for Android as slightly fuzzy, to account for
reftest rebucketing fuzzy-failure fallout. It has 0 in the lower bound
of the fuzzy annotation because not every Android has this
fuzzy-failure.

Meanwhile, bug453105.html no longer fails due to reftest rebucketing, so
I remove its fuzzy annotation.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 18:53:28 +00:00
Bogdan Tara e0728bbf97 Backed out changeset 7dc1fd3fa679 (bug 1613380) for optiontext.html failures CLOSED TREE 2020-02-07 07:31:19 +02:00
Ting-Yu Lin 8a678ca086 Bug 1613380 - Use FlexboxAxisTracker's main axis to initialize strut FlexItem's mMainAxis. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D61877

--HG--
extra : moz-landing-system : lando
2020-02-06 23:33:24 +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
Jonathan Kew ab65dd885f Bug 1612822 - Refactor text decoration offset/thickness computations. r=emilio
We replace SetWidthIfLength and SetOffsetIfLength with ComputeDecorationLine{Thickness,Offset} functions,
and consolidate more of the computation of the offset within this function to simplify callers.

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

--HG--
extra : moz-landing-system : lando
2020-02-03 14:38:47 +00:00
Miko Mynttinen abdf658cc1 Bug 1570363 - Do not discard width and height for empty SVG reference rects r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D61175

--HG--
extra : moz-landing-system : lando
2020-01-30 15:06:29 +00:00