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

10745 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez d6d8c4ad82 Bug 1618202 - Another test annotation.
MANUAL PUSH: Trying to get the android stuff to stick once again.
2020-03-12 17:28:50 +01:00
Emilio Cobos Álvarez 26e86c9fa3 Bug 1618202 - Some minor reftest annotation tweaks.
MANUAL PUSH: Trying to get the android stuff to stick once again.
2020-03-12 16:11:43 +01:00
Emilio Cobos Álvarez 76783418f6 Bug 1618202 - Update WPT annotations. r=snorp
Tons of new passes, some fuzzy bits, and one failure from a test that makes bad
assumptions about themed and unthemed <input type=color> being equally tall.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 14:00:52 +00:00
Jan Henning 686525b211 Bug 1566632 - Part 2: Prevent buttons from becoming font inflation containers. r=emilio
A similar reasoning as in bug 1540176 applies here as well: Pending a possible
rework of the AutoMaybeDisableFontInflation logic (bug 1619749), inflation
containers generally cannot take the (I)size increase of font inflation into
account during shrink-wrapping, and form controls like buttons are particularly
hard hit, as
a) they often contain only small amounts of text and
b) unlike regular "inline-block" elements such as <div>s, they aren't font
   inflation flow roots either, and as such are therefore subject to the full
   amount of font inflation from their surrounding contents,
so they are more likely to end up with a situation were the inflated text won't
fit the ISize of the button even with word wrapping applied.

Therefore, as a quicker fix,  buttons will now also specifically prevented from
becoming font inflation containers.
This also has the added advantage that they thereby become subject to the logic
from bug 708175 - i.e. if the button has a fixed width, we will no now no longer
inflate its text.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 20:28:23 +00:00
Jan Henning ecac6b1824 Bug 1566632 - Part 1: Add some tests for button behaviour under font inflation. r=emilio
Buttons with a fixed height are already correctly prevented from inflating, so
their test already passes. Everything else will be done subsequently.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 20:27:40 +00:00
Narcis Beleuzu 442ce3a06e Backed out 8 changesets (bug 1618202) for mochitest failures on test_sanityEventUtils.html . CLOSED TREE
Backed out changeset cea91b0cc4f9 (bug 1618202)
Backed out changeset 9448002ebec9 (bug 1618202)
Backed out changeset c1a32c968550 (bug 1618202)
Backed out changeset e5be676f6f06 (bug 1618202)
Backed out changeset 760a89ae35a7 (bug 1618202)
Backed out changeset b0b0c4242976 (bug 1618202)
Backed out changeset a2c3bd0e1fba (bug 1618202)
Backed out changeset b46e40872077 (bug 1618202)
2020-03-10 02:39:47 +02:00
Emilio Cobos Álvarez edb2e2d703 Bug 1618202 - Minor reftest annotation fixes.
MANUAL PUSH: Preventing android widget switch from getting baked out on CLOSED TREE
2020-03-09 22:06:46 +01:00
Emilio Cobos Álvarez 146ba43385 Bug 1604200 - Second attempt at making reftest selection-001.html more reliable. r=dholbert
It seems webrender has some invalidation issues on the test reference and won't
paint the selected text on time. Instead, run the selection ASAP so that it
hopefully paints soon enough.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 19:37:13 +00:00
Emilio Cobos Álvarez b6508fca7c Bug 1620297 - Make the range background size fixed. r=mstange
Otherwise the rendering of stuff like:

  <input type=range style="height: 300px">

Makes no sense. So this is closer to other widgets, and also happens to fix the
only test which is a real regression from non-native widget :)

Depends on D65673

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

--HG--
extra : moz-landing-system : lando
2020-03-07 09:57:42 +00:00
Emilio Cobos Álvarez 6e64162359 Bug 1620479 - Annotate reftests with native theme enabled. r=mstange
Most of them are straight-forward. Some fuzziness due to Skia around rounded
corners still. Some tests that already fail in other widgets as expected.

This is enough to green up reftests (but not WPT, yet) on Android, both with and
without WR enabled.

Nothing too concerning, all-in-all.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:07:59 +00:00
Emilio Cobos Álvarez 4d68fde506 Bug 1620476 - Fix a test that makes assumptions about the padding of a textarea. r=mstange
The test is duplicated in two places, so four files to change. The padding in
the non-native theme is just big enough so that the textarea overlaps the float.

In other themes the textarea overflows, but not enough to hit the float.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:41:58 +00:00
Timothy Nikkel 9b9f2e2f0f Bug 1602323. Mark a few reftests as passing with fission now.
I forgot to mark them passing when I landed the patches that fixed them.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 07:13:05 +00:00
Sebastian Zartner d58c4c95ae Bug 1432250 - Updated tests for input image output for zero or negative radii for <feMorphology>. r=mstange
Depends on D63958

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

--HG--
extra : moz-landing-system : lando
2020-02-27 19:20:30 +00:00
Emilio Cobos Álvarez 2b3403744f Bug 1615026 - Annotate new test as failing on Mac.
MANUAL PUSH: Preventing tree closure in advance :^)
2020-03-05 02:52:25 +01:00
Emilio Cobos Álvarez b4bdc39333 Bug 1615026 - Ensure that non-native theme doesn't stroke outside of its rect. r=mstange
...and properly pixel-snap while at it, as otherwise my test would fail fuzzily.

Stroke() paints a stroke from the middle of the path, so it'll paint
one-half-of-the-width outside of the rect.

We need to deflate it by half the border width so that the stroke covers exactly
the area we want.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 00:25:31 +00:00
Emilio Cobos Álvarez 1febc27ba3 Bug 1619701 - Respect the cascade properly when in high-contrast mode. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D65345

--HG--
extra : moz-landing-system : lando
2020-03-04 21:25:24 +00:00
Morgan Reschenberg c1431063a6 Bug 1617678: Modify background image styling to only apply URL-sourced images when backplate is enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64200

--HG--
extra : moz-landing-system : lando
2020-03-04 01:19:41 +00:00
Jan Henning a231c232c9 Bug 1540176 - Ensure input elements don't become font inflation containers. r=emilio
Previously, text input controls weren't font inflation containers simply by
virtue of being "display:inline" by default, which automatically makes them in-
eligible for becoming an inflation container.
As of bug 1539469 this has changed however - those <input> elements are now
"display:inline-block" by default, which with the current font inflation logic
turns them into font inflation containers.

This leads to a few problems:
1. The logic from bug 708175 (stop inflation if there is a size-constrained non-
   inline frame in the chain from the current frame to their font inflation
   container) is built on the assumption that the (possibly size-constrained)
   form control itself isn't a font inflation container.
2. When form controls end up as font inflation containers themselves, they no
   longer size themselves properly to match the size of their inflated
   contents, because they are now subject to the AutoMaybeDisableFontInflation/
   mInflationDisabledForShrinkWrap logic which ends up disabling font inflation
   during the size calculation of the form control.

1.) means that we now inflate some text inputs that we didn't use to inflate
previously and 2.) means that every time we attempt to inflate a text input, we
end up with the text content being inflated, but the containig box being not and
therefore too small.

Because of this, as well as because
1. The introductory comment in nsFrame::IsFontSizeInflationContainer itself
   mentions that form controls aren't expected to be inflation containers.
2. There is the precedent from bug 786946, where <select> elements were
   specifically excluded from becoming font inflation containers when their
   default display style was changed from "inline" to "inline-block".

all of this points towards having to specifically preclude <input> elements
from becoming font inflation containers as well.

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

--HG--
extra : moz-landing-system : lando
2020-03-03 21:47:21 +00:00
Razvan Maries 0b474b2251 Backed out changeset dc3ad7ffa787 (bug 1617678) for perma failures on bg-image-div-001.html. CLOSED TREE 2020-03-03 23:16:37 +02: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
Morgan Reschenberg 11e8355a59 Bug 1617678: Modify background image styling to only apply URL-sourced images when backplate is enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64200

--HG--
extra : moz-landing-system : lando
2020-03-03 19:16:30 +00:00
Emilio Cobos Álvarez 2b1bbce9a6 Bug 1618988 - Move text selection colors outside of geckoview.css. r=m_kato
Maybe we should be using some native color, but the background for that is white
in my testing, so probably not, or at least probably it can be a follow-up.

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

--HG--
extra : moz-landing-system : lando
2020-03-02 04:28:14 +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
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
Andrew Osmond ff69c48b54 Backed out changset b371f612cd60 (Bug 1604535) for performance regressions.
Differential Revision: https://phabricator.services.mozilla.com/D61298

--HG--
extra : moz-landing-system : lando
2020-01-30 13:11:08 +00:00
Mats Palmgren e5f1f2d4f5 Bug 1310792 - Fix pixel rounding issues in Grid baseline reftests and convert them to WPTs. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D61241

--HG--
rename : layout/reftests/css-grid/grid-item-content-baseline-001-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-001-ref.html
rename : layout/reftests/css-grid/grid-item-content-baseline-001.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-001.html
rename : layout/reftests/css-grid/grid-item-content-baseline-002-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-002-ref.html
rename : layout/reftests/css-grid/grid-item-content-baseline-002.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-002.html
rename : layout/reftests/css-grid/grid-item-content-baseline-003-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-003-ref.html
rename : layout/reftests/css-grid/grid-item-content-baseline-003.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-content-baseline-003.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-001-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-001-ref.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-001.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-001.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-002-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-002-ref.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-002.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-002.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-003-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-003-ref.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-003.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-003.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-004-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-004-ref.html
rename : layout/reftests/css-grid/grid-item-mixed-baseline-004.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-mixed-baseline-004.html
rename : layout/reftests/css-grid/grid-item-self-baseline-001-ref.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-self-baseline-001-ref.html
rename : layout/reftests/css-grid/grid-item-self-baseline-001.html => testing/web-platform/tests/css/css-grid/alignment/grid-item-self-baseline-001.html
extra : moz-landing-system : lando
2020-01-29 21:48:31 +00:00
Mats Palmgren 59bb4e4cda Bug 1611724 - [css-grid] Add NS_FRAME_CONTAINS_RELATIVE_BSIZE to grid items with content first baseline alignment to ensure lines are marked dirty in a IsBResize reflow. r=dholbert
To make this condition true to be clear:
https://searchfox.org/mozilla-central/rev/aa684c0c76136be80af4c6e429bce81dea55c429/layout/generic/nsBlockFrame.cpp#2478-2479

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

--HG--
extra : moz-landing-system : lando
2020-01-27 19:45:13 +00:00
Emilio Cobos Álvarez f97d7df528 Bug 1610085 - Tweak background-color and color handling in ignored-colors mode. r=jwatt
We're resetting `color` to the default color when there's a declaration that
applies in order to make stuff like this:

<div style="color: transparent">
  <div style="color: red">
    Red
  </div>
</div>

To not show transparent. But the behavior we want is more like "override with
default color iff there's no other declaration that would set the color from an
user or UA sheet".

This implements that behavior, plus avoids it if we're not inheriting
from transparent, so that stuff like this preserves the behavior from before bug
844349:

<a href="foo">
  <span style="color: red">Should be the red color</span>
</a>

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

--HG--
extra : moz-landing-system : lando
2020-01-26 22:57:21 +00:00
Csoregi Natalia 3a270b7de3 Backed out changeset 239f7622187e (bug 1610085) for background color failures on test_dont_use_document_colors.html. CLOSED TREE 2020-01-26 23:14:39 +02:00
Emilio Cobos Álvarez 64099dcf90 Bug 1610085 - Tweak background-color and color handling in ignored-colors mode. r=jwatt
We're resetting `color` to the default color when there's a declaration that
applies in order to make stuff like this:

<div style="color: transparent">
  <div style="color: red">
    Red
  </div>
</div>

To not show transparent. But the behavior we want is more like "override with
default color iff there's no other declaration that would set the color from an
user or UA sheet".

This implements that behavior, plus avoids it if we're not inheriting
from transparent, so that stuff like this preserves the behavior from before bug
844349:

<a href="foo">
  <span style="color: red">Should be the red color</span>
</a>

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

--HG--
extra : moz-landing-system : lando
2020-01-26 20:16:47 +00:00
Jonathan Kew 9189515605 Bug 1611610 - Add reftest for effect of synthetic bold on metrics of zero-width glyph. r=lsalzman
Depends on D61065

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

--HG--
extra : moz-landing-system : lando
2020-01-25 15:44:03 +00:00
Glenn Watson c0b3e007b8 Bug 1611357 - Update fuzziness for grid-track-intrinsic-sizing-002.html r=sotaro
This test also has the same dashed border and occasional fuzziness
that grid-track-intrinsic-sizing-003.html does with DC enabled.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 03:21:23 +00:00
Nicolas Silva ad465b9ca6 Bug 1606771 - Pass more reftests. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D60767

--HG--
extra : moz-landing-system : lando
2020-01-23 14:20:47 +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
Emilio Cobos Álvarez c3c6689c8b Bug 1609711 - Minor fuzz adjustments.
CLOSED TREE

MANUAL PUSH: orange
2020-01-23 13:39:29 +01:00
Kirk Steuber 44aeb05573 Bug 1607575 - Change consumers of XUL ordinal attribute to use the -moz-box-ordinal-group style instead r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D59762

--HG--
extra : rebase_source : e70a0b95e3f878fa57d4af134e5ed7d16200467c
2020-01-22 17:23:47 +01:00
Oana Pop Rus 6d57e65314 Bug 1564882 - disable unit-vh-vw-overflow-auto.html on linux and mac. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D60702

--HG--
extra : moz-landing-system : lando
2020-01-22 17:51:44 +00:00
Emilio Cobos Álvarez af75fc5d27 Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel
The gradient code is the only one that does a really weird thing with
LengthPercentage values, by getting the percentage and length separately and
turning the length into a percentage relative to the line length (which is in
device pixels).

This won't work once we have min() / max() / etc. in CSS (as we can't access
the length and percentage components separately, as which one you choose may
depend on the percentage basis). So instead of that, use the regular
ResolveToCssPixels there are lengths involved.

We change a bit the surrounding code to work in CSS pixels, so as to avoid
unneeded CSS -> device pixel conversions.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 09:18:21 +00:00
Glenn Watson 2c9c87fff1 Bug 1608741 - Part 3 - Add fuzziness for some tests with virtual surfaces. r=jrmuizel
This patch adds fuzziness for three tests that have intermittent
fuzziness issues when DirectComposition virtual surfaces are enabled.

In each of the cases, there is a dashed border style, which has
occasional rasterizer accuracy issues. Each of the tests has a
max fuzziness of 0-1 value, with 0-10 pixels, so it's a minimal
amount of difference between the images.

Given this, we can add fuzziness to allow enabling the native
compositor mode, and investigate these as follow ups.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 03:09:20 +00:00
Cosmin Sabou c562fe95c5 Backed out 2 changesets (bug 1609711) for causing reftest failures on radial-size-1b.html. CLOSED TREE
Backed out changeset 2857feeff01b (bug 1609711)
Backed out changeset 627ee9bf5573 (bug 1609711)

--HG--
extra : histedit_source : 35debdd9cdab035b9538972fff10cc556e724f74
2020-01-23 07:19:28 +02:00
Emilio Cobos Álvarez 570e37ec64 Bug 1609711 - Fix merge conflict.
CLOSED TREE

MANUAL PUSH: Will bust some reftests otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D60789
2020-01-23 03:31:23 +01:00
Emilio Cobos Álvarez 049fa64ff0 Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel
The gradient code is the only one that does a really weird thing with
LengthPercentage values, by getting the percentage and length separately and
turning the length into a percentage relative to the line length (which is in
device pixels).

This won't work once we have min() / max() / etc. in CSS (as we can't access
the length and percentage components separately, as which one you choose may
depend on the percentage basis). So instead of that, use the regular
ResolveToCssPixels there are lengths involved.

We change a bit the surrounding code to work in CSS pixels, so as to avoid
unneeded CSS -> device pixel conversions.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 00:36:12 +00:00
Andrew Osmond 0b6c7eca9d Bug 1604535 - Disable OMTP on 32-bit systems due to memory pressure. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D60058

--HG--
extra : moz-landing-system : lando
2020-01-22 13:46:59 +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
Mihai Alexandru Michis aa50eec8ac Bug 1609581 - Update expectancies for backplate-bg-image-009.html and backplate-bg-image-006.html a=fix
CLOSED TREE

--HG--
extra : amend_source : ff7bb5d6b858b24081f459186499c71f03c4f359
2020-01-22 01:24:21 +02:00
Morgan Reschenberg abb452e1f7 Bug 1609581: Ensure backplates inherit color from nearest non-transparent frame to correctly color select multiple's. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D60099

--HG--
extra : moz-landing-system : lando
2020-01-21 21:01:32 +00:00
Mihai Alexandru Michis 47833e7806 Backed out changeset e91a005196d1 (bug 1609581) for causing reftest failures in backplate-bg-image-009.html
CLOSED TREE
2020-01-21 22:54:43 +02:00
Morgan Reschenberg 8557cef421 Bug 1609581: Ensure backplates inherit color from nearest non-transparent frame to correctly color select multiple's. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D60099

--HG--
extra : moz-landing-system : lando
2020-01-18 00:05:57 +00:00
Edwin Takahashi f9f78c2f75 Bug 1607294 - adjust font-inflation-1.html annotation for linux1804 webrender r=jmaher
Changes:

After a lot of hours spent tweaking the exact values for this test, the conclusion is that it is flaky. Sometimes it passes with 0,0 but other times it fails with 255,66 only for linux webrender.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 10:59:51 +00:00
Jamie Nicol 7675998489 Bug 1609002 - Update test expectations. r=botond
Depends on D60292

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

--HG--
extra : moz-landing-system : lando
2020-01-18 01:10:52 +00:00
Narcis Beleuzu 997ca40e0a Bug 1609837 - Update expectations for fission reftest. CLOSED TREE
--HG--
extra : rebase_source : 9ad7b3e50e2d8b013bba96ea610c3e4b8a584695
2020-01-17 12:28:39 +02:00
Edwin Takahashi 70f06d747b Bug 1608582 - fix annotation changes that caused reftest failures r=jmaher
Changes:

The stack over at https://phabricator.services.mozilla.com/D59597 caused two unintentional failures that show up on platforms other than `linux1804`.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 00:03:19 +00:00
Ting-Yu Lin ddba50ad62 Bug 1308636 Part 2 - Convert CSSOM usages of moz-prefixed column properties in tests. r=dbaron
This patch was generated by the following shell script.

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.svg"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}
remove_column_prefix "MozColumn" "column"
```

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

--HG--
extra : moz-landing-system : lando
2020-01-16 21:45:17 +00:00
Edwin Takahashi 8c82fc0a78 Bug 1608582 - tighten reftest annotation, part 4 r=jmaher
Changes:

Tighten reftest pixel differences now that reftest has been migrated fully over to ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 07:52:44 +00:00
Edwin Takahashi 9f3cc061e7 Bug 1608582 - tighten reftest annotation, part 3 r=jmaher
Changes:

Tighten reftest pixel differences now that reftest has been migrated fully over to ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-11 12:32:52 +00:00
Edwin Takahashi a13c3fabf0 Bug 1608582 - tighten reftest annotation, part 2 r=jmaher
Changes:

Tighten reftest pixel differences now that reftest has been migrated fully over to ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-11 12:33:10 +00:00
Timothy Nikkel 69780002d0 Bug 1607964. Update reftest expectations with fission.
layout/reftests/bugs/262998-1.html only fails with webrender. I think maybe the initial annotation should have had that.
layout/reftests/bugs/818276-1.html I think is the same situation.

layout/reftests/474472-1.html seems to pass on a no-accel reftest fis run, but fails for me on regular reftest fis run, so I marked it random for now.

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

--HG--
extra : moz-landing-system : lando
2020-01-16 08:22:32 +00:00
Emilio Cobos Álvarez 43f69ea130 Bug 1430141 - Remove hardcoded <input type=number> width. r=jfkthame
Now that we're subclassing nsTextControlFrame we can use the regular replaced
element intrinsic sizing, rather than just faking it in the UA sheet with a
suspicious width declaration.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 16:52:37 +00:00
Bogdan Tara 1fa2e3839f Backed out changeset 996f7985ca6b (bug 1430141) for reftests/writing-mode/ua-style-sheet-input-number-1.html failures 2020-01-15 16:16:55 +02:00
Emilio Cobos Álvarez 3a730bcc67 Bug 1430141 - Remove hardcoded <input type=number> width. r=jfkthame
Now that we're subclassing nsTextControlFrame we can use the regular replaced
element intrinsic sizing, rather than just faking it in the UA sheet with a
suspicious width declaration.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 10:22:20 +00:00
Edwin Takahashi fea732e469 Bug 1608582 - remove fuzzy-if annotation for number-selected-ref.html/number-style-inheritance-ref.html a=fix
CLOSED TREE

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

--HG--
extra : amend_source : 41cf155a809c9fc8f5d8ed4befc5a68d29c7fb34
2020-01-15 11:26:30 +02:00
Edwin Takahashi 1c7bbf914b Bug 1608582 - tighten reftest annotation, part 1 r=jmaher
Changes:

Tighten reftest pixel differences now that reftest has been migrated fully over to ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-11 12:32:27 +00:00
Emilio Cobos Álvarez fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
Emilio Cobos Álvarez a543b6df2f Bug 844349 - Do not ignore color: transparent in high contrast mode. r=jwatt
PDFJS uses it, for example to allow text selection. It's not great if it shows
on top of the actual PDF :-)

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

--HG--
extra : moz-landing-system : lando
2020-01-14 20:25:03 +00:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Emilio Cobos Álvarez da2e4ef888 Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 15:05:22 +00:00
Emilio Cobos Álvarez 9846fd9184 Bug 1599206 - Don't serialize implicit tracks for grid-template properties, as they make the computed style not round-trip. r=mats
Do this only on nightly for now since we're about to enter the soft freeze.

(No test updates yet, as try is still running, and I need to figure out how to
import Oriol's changes into WPT, but I wanted to ensure that you were fine with
this)

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

--HG--
extra : moz-landing-system : lando
2020-01-13 16:52:18 +00:00
Emilio Cobos Álvarez aaecc96d81 Bug 1588791 - Make fission iframes honor and deal with the scrolling attribute. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59630

--HG--
extra : moz-landing-system : lando
2020-01-13 11:30:44 +00:00
Ciure Andrei 51c540de3d Backed out 2 changesets (bug 1588791) for causing test_bug369370.html and test_transformed_scrolling_repaints_3.html to permafail
Backed out changeset 52e661ff161d (bug 1588791)
Backed out changeset d59e691bda9e (bug 1588791)
2020-01-13 04:49:16 +02:00
Emilio Cobos Álvarez 6e69347f9f Bug 1588791 - Make fission iframes honor and deal with the scrolling attribute. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59630

--HG--
extra : moz-landing-system : lando
2020-01-12 22:22:29 +00:00
Jonathan Kew 74032fc86f Bug 1605265 - Don't include overflow child list when computing outline rect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D59582

--HG--
extra : moz-landing-system : lando
2020-01-10 23:44:46 +00:00
Oana Pop Rus da0f38e5f0 Backed out 3 changesets (bug 1599206) for multiple wpt failures grid-template-columns. on a CLOSED TREE
Backed out changeset 9888d5a5cb13 (bug 1599206)
Backed out changeset ce55ea50cddd (bug 1599206)
Backed out changeset 8bde04eafc7c (bug 1599206)
2020-01-10 17:27:52 +02:00
Emilio Cobos Álvarez feb0870183 Bug 1599206 - Don't serialize implicit tracks for grid-template properties, as they make the computed style not round-trip. r=mats
Do this only on nightly for now since we're about to enter the soft freeze.

(No test updates yet, as try is still running, and I need to figure out how to
import Oriol's changes into WPT, but I wanted to ensure that you were fine with
this)

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

--HG--
extra : moz-landing-system : lando
2020-01-10 10:37:29 +00:00
Jonathan Kew 13eb9e858a Bug 1608124 - Skip hidden macOS font families in FontList::FindFamily, except when resolving system fonts. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D59358

--HG--
extra : moz-landing-system : lando
2020-01-10 08:58:47 +00:00
Narcis Beleuzu 1e5d31d0d9 Backed out changeset aea131093cd1 (bug 1608124) for assertion failures on StaticPrefList_gfx.h. CLOSED TREE 2020-01-10 03:19:43 +02:00
Jonathan Kew 976c9365de Bug 1608124 - Skip hidden macOS font families in FontList::FindFamily, except when resolving system fonts. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D59358

--HG--
extra : moz-landing-system : lando
2020-01-09 19:11:10 +00:00
Edwin Takahashi 6f21ac7b57 Bug 1602863 - temporarily skip mfenced-12.html as it is interfering with the ubuntu1804 migration r=jmaher
This test is proving to be a nuisance during the migration.

Temporarily disable it while the reftest-no-accel suite is greened up on ubuntu1804 and ready for migration on mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 18:26:47 +00:00
Edwin Takahashi 4ffba32398 Bug 1599654 - remove fail-if annotation for mfenced-12.html on ubuntu1804 r=jmaher
Changes:

Remove the fail-if annotation for gtkWidget since the test passes in ubuntu1804.

This patch will need to land with D58816.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 18:34:58 +00:00
Ting-Yu Lin 41f37efd4f Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron
Simply remove "max-block-size: 100%" for -moz-column-set and
-moz-column-content breaks abspos-breaking-dynamic-{001,002,003}.html.
We need to reflow ColumnSetWrapper's children whenever
ColumnSetWrapper's block-size or max-block-size is changed because both
size affect the available block-size for ColumnSetWrapper's children.

We set `NS_FRAME_CONTAINS_RELATIVE_BSIZE` for ColumnSetWrapperFrame so
that it will set itself dirty in `selfDirty` in
`nsBlockFrame::ReflowDirtyLines`, and mark its lines dirty if
`aState.mReflowInput.IsBResize()` is true.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:48:12 +00:00
Bogdan Tara d0de37ac8e Backed out 2 changesets (bug 1603088) for android crashtest failures on 1015844.html
Backed out changeset 2bd2d03f3c45 (bug 1603088)
Backed out changeset d4cc66fb7593 (bug 1603088)
2020-01-08 02:04:06 +02:00
Emilio Cobos Álvarez 547c9db8cd Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 21:00:42 +00:00
Bogdan Tara 6571a2a6fb Backed out changeset 23d862866f3a (bug 1606130) for android crashtest complaining about 1547420-1.html 2020-01-07 22:53:10 +02:00
Ting-Yu Lin 06d5a025d1 Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron
Simply remove "max-block-size: 100%" for -moz-column-set and
-moz-column-content breaks abspos-breaking-dynamic-{001,002,003}.html.
We need to reflow ColumnSetWrapper's children whenever
ColumnSetWrapper's block-size or max-block-size is changed because both
size affect the available block-size for ColumnSetWrapper's children.

We set `NS_FRAME_CONTAINS_RELATIVE_BSIZE` for ColumnSetWrapperFrame so
that it will set itself dirty in `selfDirty` in
`nsBlockFrame::ReflowDirtyLines`, and mark its lines dirty if
`aState.mReflowInput.IsBResize()` is true.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 19:17:27 +00:00
Emilio Cobos Álvarez ff938720a8 Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 18:02:05 +00:00
Geoff Brown 1c32f70e15 Bug 1598746 - Add some SCHEDULES optimizations for changes to test files; r=ahal
Add some SCHEDULES rules so that, when a push only modifies files known to be associated
with a particular test suite, only that test suite is run.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 16:46:46 +00:00
Edwin Takahashi 452c84460c Bug 1607294 - add fuzzy-if annotation for font-inflation-1.html for gtkWidget&&webrenderer r=jmaher
Changes:

Add condition for `gtkWidget&&webrenderer`for the reftest.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 03:25:07 +00:00
Arthur Iakab dd4a096660 Backed out changeset 1de61444499e (bug 1599654) for causing reftest failures on mathml/mfenced-12.html
CLOSED TREE
2020-01-07 03:14:00 +02:00
Edwin Takahashi bfac2c4693 Bug 1600749 - adjust fuzzy-if pixel values of css-simple-styling.html for gtkWidget&&webrender condition r=jmaher
Changes:

`gtkWidget&&webrender` has a slightly different pixel difference count (1496 vs 1498), so a second condition is added to cover this case.

The annotation is permissive but will be tightened once reftest is run with ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 23:25:47 +00:00
Edwin Takahashi 567f7dd489 Bug 1599654 - remove fail-if annotation for mfenced-12.html on ubuntu1804 r=jmaher
Changes:

Remove the fail-if annotation for gtkWidget since the test passes in ubuntu1804.

This patch will need to land with D58816.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 23:24:43 +00:00
Connor Brewster 7df8b34d1a Bug 1606742 - Support alpha component on svg color matrix filter in WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D58587

--HG--
extra : moz-landing-system : lando
2020-01-06 18:41:55 +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
Edwin Takahashi c699fdcc0b Bug 1600777 - annotate gujarati-3b.html with permissive fuzzy-if annotation on ubuntu1804 r=jmaher
Changes:

Mark with permissive fuzzy-if annotation, to permit both ubuntu1604 and ubuntu1804 to pass for the time being.

Test will have annotation tightened up once migration is complete.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 21:53:10 +00:00
Xidorn Quan 400c037b53 Bug 1134069 part 3 - Move most appropriate tests into wpt. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58234

--HG--
rename : layout/reftests/css-ruby/ruby-align-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-align-001-ref.html
rename : layout/reftests/css-ruby/ruby-align-1.html => testing/web-platform/tests/css/css-ruby/ruby-align-001.html
rename : layout/reftests/css-ruby/ruby-align-1a.html => testing/web-platform/tests/css/css-ruby/ruby-align-001a.html
rename : layout/reftests/css-ruby/ruby-align-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-align-002-ref.html
rename : layout/reftests/css-ruby/ruby-align-2.html => testing/web-platform/tests/css/css-ruby/ruby-align-002.html
rename : layout/reftests/css-ruby/ruby-align-2a.html => testing/web-platform/tests/css/css-ruby/ruby-align-002a.html
rename : layout/reftests/css-ruby/bidi-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-bidi-001-ref.html
rename : layout/reftests/css-ruby/bidi-1.html => testing/web-platform/tests/css/css-ruby/ruby-bidi-001.html
rename : layout/reftests/css-ruby/bidi-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-bidi-002-ref.html
rename : layout/reftests/css-ruby/bidi-2.html => testing/web-platform/tests/css/css-ruby/ruby-bidi-002.html
rename : layout/reftests/css-ruby/box-generation-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-001-ref.html
rename : layout/reftests/css-ruby/box-generation-1.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-001.html
rename : layout/reftests/css-ruby/box-generation-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-002-ref.html
rename : layout/reftests/css-ruby/box-generation-2.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-002.html
rename : layout/reftests/css-ruby/box-generation-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-003-ref.html
rename : layout/reftests/css-ruby/box-generation-3.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-003.html
rename : layout/reftests/css-ruby/box-generation-4-ref.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-004-ref.html
rename : layout/reftests/css-ruby/box-generation-4.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-004.html
rename : layout/reftests/css-ruby/box-generation-5-ref.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-005-ref.html
rename : layout/reftests/css-ruby/box-generation-5.html => testing/web-platform/tests/css/css-ruby/ruby-box-generation-005.html
rename : layout/reftests/css-ruby/dynamic-insertion-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001-ref.html
rename : layout/reftests/css-ruby/dynamic-insertion-1.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-001.html
rename : layout/reftests/css-ruby/dynamic-insertion-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003-ref.html
rename : layout/reftests/css-ruby/dynamic-insertion-2.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-003.html
rename : layout/reftests/css-ruby/dynamic-insertion-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005-ref.html
rename : layout/reftests/css-ruby/dynamic-insertion-3.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-insertion-005.html
rename : layout/reftests/css-ruby/dynamic-removal-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001-ref.html
rename : layout/reftests/css-ruby/dynamic-removal-1.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-001.html
rename : layout/reftests/css-ruby/dynamic-removal-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002-ref.html
rename : layout/reftests/css-ruby/dynamic-removal-2.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-002.html
rename : layout/reftests/css-ruby/dynamic-removal-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003-ref.html
rename : layout/reftests/css-ruby/dynamic-removal-3.html => testing/web-platform/tests/css/css-ruby/ruby-dynamic-removal-003.html
rename : layout/reftests/css-ruby/float-handling-ref.html => testing/web-platform/tests/css/css-ruby/ruby-float-handling-001-ref.html
rename : layout/reftests/css-ruby/float-handling.html => testing/web-platform/tests/css/css-ruby/ruby-float-handling-001.html
rename : layout/reftests/css-ruby/intra-level-whitespace-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001-ref.html
rename : layout/reftests/css-ruby/intra-level-whitespace-1.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-001.html
rename : layout/reftests/css-ruby/intra-level-whitespace-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002-ref.html
rename : layout/reftests/css-ruby/intra-level-whitespace-2.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-002.html
rename : layout/reftests/css-ruby/intra-level-whitespace-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003-ref.html
rename : layout/reftests/css-ruby/intra-level-whitespace-3.html => testing/web-platform/tests/css/css-ruby/ruby-intra-level-whitespace-003.html
rename : layout/reftests/css-ruby/intrinsic-isize-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001-ref.html
rename : layout/reftests/css-ruby/intrinsic-isize-1.html => testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-001.html
rename : layout/reftests/css-ruby/intrinsic-isize-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002-ref.html
rename : layout/reftests/css-ruby/intrinsic-isize-2.html => testing/web-platform/tests/css/css-ruby/ruby-intrinsic-isize-002.html
rename : layout/reftests/css-ruby/justification-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-justification-001-ref.html
rename : layout/reftests/css-ruby/justification-1.html => testing/web-platform/tests/css/css-ruby/ruby-justification-001.html
rename : layout/reftests/css-ruby/justification-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-justification-002-ref.html
rename : layout/reftests/css-ruby/justification-2.html => testing/web-platform/tests/css/css-ruby/ruby-justification-002.html
rename : layout/reftests/css-ruby/lang-specific-style-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001-ref.html
rename : layout/reftests/css-ruby/lang-specific-style-1.html => testing/web-platform/tests/css/css-ruby/ruby-lang-specific-style-001.html
rename : layout/reftests/css-ruby/line-break-suppression-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001-ref.html
rename : layout/reftests/css-ruby/line-break-suppression-1.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-001.html
rename : layout/reftests/css-ruby/line-break-suppression-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002-ref.html
rename : layout/reftests/css-ruby/line-break-suppression-2.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-002.html
rename : layout/reftests/css-ruby/line-break-suppression-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003-ref.html
rename : layout/reftests/css-ruby/line-break-suppression-3.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-003.html
rename : layout/reftests/css-ruby/line-break-suppression-4-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004-ref.html
rename : layout/reftests/css-ruby/line-break-suppression-4.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-004.html
rename : layout/reftests/css-ruby/line-break-suppression-5-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005-ref.html
rename : layout/reftests/css-ruby/line-break-suppression-5.html => testing/web-platform/tests/css/css-ruby/ruby-line-break-suppression-005.html
rename : layout/reftests/css-ruby/line-breaking-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001-ref.html
rename : layout/reftests/css-ruby/line-breaking-1.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-001.html
rename : layout/reftests/css-ruby/line-breaking-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002-ref.html
rename : layout/reftests/css-ruby/line-breaking-2.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-002.html
rename : layout/reftests/css-ruby/line-breaking-3-ref.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003-ref.html
rename : layout/reftests/css-ruby/line-breaking-3.html => testing/web-platform/tests/css/css-ruby/ruby-line-breaking-003.html
rename : layout/reftests/css-ruby/no-transform-ref.html => testing/web-platform/tests/css/css-ruby/ruby-no-transform-ref.html
rename : layout/reftests/css-ruby/no-transform.html => testing/web-platform/tests/css/css-ruby/ruby-no-transform.html
rename : layout/reftests/css-ruby/ruby-reflow-1-noruby.html => testing/web-platform/tests/css/css-ruby/ruby-reflow-001-noruby.html
rename : layout/reftests/css-ruby/ruby-reflow-1-opaqueruby.html => testing/web-platform/tests/css/css-ruby/ruby-reflow-001-opaqueruby.html
rename : layout/reftests/css-ruby/ruby-reflow-1-transparentruby.html => testing/web-platform/tests/css/css-ruby/ruby-reflow-001-transparentruby.html
rename : layout/reftests/css-ruby/ruby-span-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-span-001-ref.html
rename : layout/reftests/css-ruby/ruby-span-1.html => testing/web-platform/tests/css/css-ruby/ruby-span-001.html
rename : layout/reftests/css-ruby/ruby-whitespace-1-ref.html => testing/web-platform/tests/css/css-ruby/ruby-whitespace-001-ref.html
rename : layout/reftests/css-ruby/ruby-whitespace-1.html => testing/web-platform/tests/css/css-ruby/ruby-whitespace-001.html
rename : layout/reftests/css-ruby/ruby-whitespace-2-ref.html => testing/web-platform/tests/css/css-ruby/ruby-whitespace-002-ref.html
rename : layout/reftests/css-ruby/ruby-whitespace-2.html => testing/web-platform/tests/css/css-ruby/ruby-whitespace-002.html
rename : layout/reftests/css-ruby/common.css => testing/web-platform/tests/css/css-ruby/support/ruby-common.css
rename : layout/reftests/css-ruby/dynamic-insertion.js => testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-insertion.js
rename : layout/reftests/css-ruby/dynamic-removal.js => testing/web-platform/tests/css/css-ruby/support/ruby-dynamic-removal.js
extra : moz-landing-system : lando
2019-12-27 00:31:48 +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
Edwin Takahashi 33e20a2a9b Bug 1599619 - annotate anim-css-font-1.svg with permissive fuzzy-if for ubuntu1804 r=jmaher
Changes:

Mark this particular failure with permissive fuzzy-if to be investigated at a later time. In the meantime this will permit both ubuntu16/18 to pass the tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 18:18:51 +00:00
Edwin Takahashi 888b7d9816 Bug 1591613 - annotate number-style-inheritance.html with permissive fuzzy-if for ubuntu1804 r=jmaher
Changes:

Marking the test with a permissive `fuzzy-if` to accommodate both ubuntu1804 and ubuntu1604; fuzzy value will be tightened once migration is complete.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:12:42 +00:00
Edwin Takahashi 38542fdf52 Bug 1604338 - annotate unexpected outcomes for layout/reftests/async-scrolling/reftest.list when run on ubuntu1804 with webrender r=jmaher
Changes:

Most tests have smaller value for the `minDiff` side of things, and a slightly larger value for the `maxPixelCount` side of things when ubunt1804 runs the test. Adjust the expectation so that ubuntu1604 and ubuntu1804 both pass for the time being, then tighten the values once ubuntu1604 is decommissioned.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 09:29:05 +00:00
Edwin Takahashi 87a945470a Bug 1604583 - add fuzzier annotation for layout/reftests/position-sticky/reftest.list on ubuntu1804 r=jmaher
Changes:

As with other ubuntu1804 reftests, the difference counts need to be updated when run with `webrender`. Once migration is complete, tighten the values.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 09:28:28 +00:00
Mats Palmgren ffee4dbd18 Bug 1602430 - Apply min/max-height correctly for fragmented boxes with no height specified. r=TYLin
Depends on D56738

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:13:13 +00:00