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

10503 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 7be32e6d1b Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50651

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

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

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

--HG--
extra : moz-landing-system : lando
2019-11-05 11:58:01 +00:00
Glenn Watson 99449afeab Bug 1593615 - Update annotations for android fuzziness. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D51711

--HG--
extra : moz-landing-system : lando
2019-11-04 21:08:27 +00:00
Glenn Watson 3de743de9b Bug 1592417 - Reduce work done when picture cache tiles are inside the display port but not currently visible. r=nical
Previously, WR needed to update and track dependencies for all
allocated picture cache tiles in the virtual display port. This
means doing extra CPU work (dependency updates) and in some cases,
extra GPU work (larger off-screen child surfaces) than are strictly
required.

With this patch, each tile determines if it is currently visible in
pre_update. If the tile isn't visible, we skip doing dependency
updates until it is on screen again. More importantly, this is
used to reduce the world culling rect for primitive preparation,
which also means large child surfaces only require allocations
large enough to enclose the visible tiles, rather than the
display port.

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

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

--HG--
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001-ref.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001a.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001b.html
extra : moz-landing-system : lando
2019-11-01 04:27:32 +00:00
Boris Chiou a9e57a5534 Bug 1429305 - Extend compositor properties for motion. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50014

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:45 +00:00
Lee Salzman aa1e343c59 Bug 1592790 - add some more Android WebRender fuzz. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D51290

--HG--
extra : moz-landing-system : lando
2019-10-31 17:15:10 +00:00
Daniel Holbert 4a5a069a6f Bug 1503470: Increase fuzzy tolerance level for reftest 'paced-1.svg' on windows. (no review, test-annotation only)
Differential Revision: https://phabricator.services.mozilla.com/D51204

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

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

--HG--
extra : moz-landing-system : lando
2019-10-28 21:42:05 +00:00
Morgan Reschenberg 36e1ff99a9 Bug 1587127: Ensure no backplate is drawn for lines that have only visibility:hidden descendants. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48725

--HG--
extra : moz-landing-system : lando
2019-10-30 15:45:45 +00:00
Emilio Cobos Álvarez cc80d088a2 Bug 1591968 - Put window.mozPaintCount behind a default-off pref. r=bzbarsky
It's not the kind of thing we want people to allow observing, generally, and
even less so the kind of thing that we may want people to rely on.

Move internal callers (all of them tests) to a new DOMWindowUtils.paintCount
method.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 10:25:53 +00:00
Nicolas Silva 9e65704d9c Bug 1575734 - Adjust reftest fuzziness for webkit-text-stroke-property-001.html. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D50799

--HG--
extra : moz-landing-system : lando
2019-10-28 13:42:50 +00:00
Ting-Yu Lin 7fd6d04f2b Bug 1588025 - Make the custom content container a font inflation root. r=emilio
font-inflation-1e.html is adapted from font-inflation-1a.html with the
writing-mode set on <html> instead of <body>. It can trigger the
assertion "current writing mode should match that of our flow root" in
nsFontInflationData::FindFontInflationDataFor().

The root cause is: nsCanvasFrame can generate the position:absolute
custom content container to contain elements like AccessibleCaret. When
the container is constructed, the container's writing-mode is always
horizontal-rl, which is getting from nsCanvasFrame that uses
ViewportFrame's style.

If <html> has a vertical writing-mode, custom content container's used
mWritingMode becomes orthogonal to ViewportFrame, because <html>'s used
mWritingMode is propagated all the way up to ViewportFrame.

This patch solves the above issue by making the custom content container
a font inflation root, so FindFontInflationDataFor() stops at it instead
of finding all the way up to the ViewportFrame.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:42:06 +00:00
Emilio Cobos Álvarez e444a94218 Bug 1589766 - Experiment with implementing zoom as a transform + transform-origin shorthand. r=xidorn
This is a gross hack, of course, but has the advantage of not breaking sites
that use both zoom and -moz-transform / -moz-transform-origin.

There should be no behavior change when the pref is off, of course, and the
webcompat team wanted to experiment with this.

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

--HG--
extra : moz-landing-system : lando
2019-10-26 14:17:28 +00:00
Tim Nguyen 2462f28c99 Bug 1590903 - Fix reftest failure and remove references to <text> that I missed. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D50441

--HG--
extra : histedit_source : e81dc1c6824ac21eadb5113bf1a406eb4f9d2081
2019-10-24 11:12:55 +03:00
Frederic Wang c24a0fbe31 Bug 1587577 - Remove support for the mfenced element. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/DHO72glZxA0

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

--HG--
extra : moz-landing-system : lando
2019-10-17 15:53:31 +00:00
Frederic Wang d7e6c31b00 Bug 1587572 - Remove support for the mfrac@bevelled attribute. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/9pEvlYn-Xyw

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:41:06 +00:00
Morgan Reschenberg 096272f01a Bug 1586482: Adjust fuzzy tolerance for android test failure. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D49301

--HG--
extra : moz-landing-system : lando
2019-10-15 18:03:52 +00:00
Emilio Cobos Álvarez 1aaa268725 Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D49267

--HG--
extra : moz-landing-system : lando
2019-10-15 12:40:14 +00:00
Coroiu Cristina 291d475197 Backed out changeset 1a951477dca5 (bug 1588743) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js on a CLOSED TREE 2019-10-15 15:35:50 +03:00
Emilio Cobos Álvarez 8325c4b9a3 Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D49267

--HG--
extra : moz-landing-system : lando
2019-10-15 11:39:30 +00:00
Emilio Cobos Álvarez d2edb10ab6 Bug 1588486 - Fix whitespace skipping inside inlines to handle display: contents correctly. r=mats
This also unifies the code a bit more.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 17:38:43 +00:00
Emilio Cobos Álvarez 536c1bc0bb Bug 1581467 - Fix checks for display: inline{,-block} which don't account for inline list items. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D48346

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-10-11 16:51:41 +00:00
Ting-Yu Lin dfdc727d06 Bug 1168921 - Stop cloning block direction margins for box-decoration-break:clone. r=mats
This can also fix bug 1586470.

This change basically reverts Bug 1025669 Part 1.
https://hg.mozilla.org/mozilla-central/rev/ae2fd5b2defb0df1bd30521f4793de6757d1e98b

In box-decoration-break-block-margin.html, the `height` in `.inner` is
changed to 79px so that 79px plus 7px margin top and 1px margin end,
total 87px, can be divided by 3 (columns). The modification to reference
file reflects what we currently rendered.

Co-authored-by: Mats Palmgren <mats@mozilla.com>

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

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

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

--HG--
extra : moz-landing-system : lando
2019-10-09 22:11:09 +00:00
Markus Stange f2eaddfc8f Bug 1577566 - Enforce appropriate output channel clamping in D2D1 ColorMatrix filters. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D45142

--HG--
extra : moz-landing-system : lando
2019-10-09 15:38:21 +00:00
Emma Malysz b4fe378c0a Bug 1586512, fix the reftest failure annotation to be more specific for Android failure r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48390

--HG--
extra : moz-landing-system : lando
2019-10-08 18:04:44 +00:00
Brendan Dahl 237d762715 Bug 1510785 - Skip all XBL related tests when XBL is disabled. r=bzbarsky
XBL will be disabled on android, so these tests must be skipped. Where possible
tests are copied to create shadow DOM tests.

Depends on D45615

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

--HG--
rename : layout/inspector/tests/test_bug522601.xhtml => layout/inspector/tests/test_bug522601-shadow.xhtml
rename : layout/inspector/tests/test_bug609549.xhtml => layout/inspector/tests/test_bug609549-shadow.xhtml
rename : layout/reftests/bugs/334829-1a.xhtml => layout/reftests/bugs/334829-1a-shadow.xhtml
rename : layout/reftests/bugs/334829-1b.xhtml => layout/reftests/bugs/334829-1b-shadow.xhtml
rename : layout/reftests/bugs/386310-1b.html => layout/reftests/bugs/386310-1b-shadow.html
rename : layout/reftests/bugs/386310-1c.html => layout/reftests/bugs/386310-1c-shadow.html
rename : layout/reftests/bugs/386310-1d.html => layout/reftests/bugs/386310-1d-shadow.html
rename : layout/reftests/bugs/482592-1a.xhtml => layout/reftests/bugs/482592-1a-shadow.xhtml
rename : layout/reftests/bugs/482592-1b.xhtml => layout/reftests/bugs/482592-1b-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-1-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-2.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-appendmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-insertmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-ref2.xhtml => layout/reftests/dom/multipleinsertionpoints-ref2-shadow.xhtml
rename : layout/reftests/ib-split/insert-into-split-inline-5.html => layout/reftests/ib-split/insert-into-split-inline-5-shadow.html
extra : moz-landing-system : lando
2019-10-08 23:52:46 +00:00
Emma Malysz e539d2cdc1 Bug 1586883, replace the remaining XUL textbox with HTML input in testcases within layout directory r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48434

--HG--
extra : moz-landing-system : lando
2019-10-08 18:26:49 +00:00
Jeff Muizelaar f5e2385e64 Bug 1582210. Support splitting blob images into different sizes. r=nical
This makes things better especially when the bounds of the combined blob
is changing but the bound of the separate ones are not.

The current implementation is a bit ugly, but it's simple and
can be cleaned up in the cleanups I have in mind for the future.

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:27:41 +00:00
Nicolas Silva 738b79c30d Bug 1581798 - Remove fuzziness from reftest svg-as-border-image-4b.html on android. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D48042

--HG--
extra : moz-landing-system : lando
2019-10-03 09:34:45 +00:00
Frederic Wang 138d2ac0fb Bug 1575870. Remove support for XLink on MathML elements. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/70NFnet82cU

This commit introduces a new mathml.xlink.disabled option to disable support
for XLink attributes on MathML elements together with a use counter and
deprecation warning when support is enabled. For now, support is only disabled
in Nightly.

In the past, we relied on custom MathML deprecation warnings but those are
removed here. Corresponding tests for these legacy warning messages are
also removed from test_bug553917.html.

link-1.xhtml is run with XLink support enabled (since it checks xlink:href)
while browser_contentAltClick.js and browser_contentAreaClick.js are updated
to instead check MathML links (i.e. href instead of xlink:href).

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

--HG--
extra : moz-landing-system : lando
2019-10-05 21:47:38 +00:00
Emma Malysz 58f95d79f5 Bug 1586336, Replace XUL textbox with HTML input in testcases within layout directory r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48126

--HG--
extra : moz-landing-system : lando
2019-10-04 19:45:56 +00:00
Morgan Reschenberg 05ad28e67c Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D42979

--HG--
extra : moz-landing-system : lando
2019-10-04 16:44:49 +00:00
Gurzau Raul 5c3ecc9909 Backed out changeset be7c53bea22d (bug 1586336) for reftest failures at accesskey.xul on a CLOSED TREE. 2019-10-04 21:22:07 +03:00
Emma Malysz 4571ec4874 Bug 1586336, Replace XUL textbox with HTML input in testcases within layout directory r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48126

--HG--
extra : moz-landing-system : lando
2019-10-04 16:27:49 +00:00
Jonathan Kew df5a04d291 Bug 1584718 - Add examples with emoji to the segment break transformation reftest. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D47905

--HG--
extra : moz-landing-system : lando
2019-10-04 09:16:25 +00:00
Frederic Wang 7194becede Bug 1548522 - Remove support for the menclose's "radical" notation. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/vwAkuZIEhnY

* Introduce a new preference option to disable menclose's "radical" notation.
* Disable the notation in Nightly and when running WPT tests.
* Enable the notation in other channels together with a counter and
  deprecation warning.
* Update WPT test legacy-menclose-radical-notation.html
  - Fix test: "radical" should be equivalent to "", which is not the same as
    the default value "longdiv".
    See https://github.com/mathml-refresh/mathml/issues/144
  - Add a test "box radical" which should be equivalent to "box".
  - Remove failure expectation.
* Enable the radical notation for MathML reftests testing it.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:37:03 +00:00
Cosmin Sabou 6d8206fdb8 Backed out changeset d2613eaa1369 (bug 1548522) for reftest failures on legacy-menclose-radical-notation.html. 2019-10-03 23:15:50 +03:00
Frederic Wang 8a93c86e31 Bug 1548522 - Remove support for the menclose's "radical" notation. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/vwAkuZIEhnY

* Introduce a new preference option to disable menclose's "radical" notation.
* Disable the notation in Nightly and when running WPT tests.
* Enable the notation in other channels together with a counter and
  deprecation warning.
* Update WPT test legacy-menclose-radical-notation.html
  - Fix test: "radical" should be equivalent to "", which is not the same as
    the default value "longdiv".
    See https://github.com/mathml-refresh/mathml/issues/144
  - Add a test "box radical" which should be equivalent to "box".
  - Remove failure expectation.
* Enable the radical notation for MathML reftests testing it.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 00:01:12 +00:00
Tim Nguyen 91976e6a66 Bug 1586018 - Remove a11y tree tests, reftests and crashtests only related to textbox. r=surkov,emilio
Differential Revision: https://phabricator.services.mozilla.com/D48080

--HG--
extra : moz-landing-system : lando
2019-10-03 18:01:08 +00:00
Mats Palmgren 6ccb338227 Bug 1583660 - Reinstate default background color / size for -moz-range-track on Android. r=jwatt
This reverts the changes from bug 1481593 / bug 1317870 which broke
the default rendering on Android only (since it doesn't have
a native theme for <input type=range>).

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

--HG--
extra : moz-landing-system : lando
2019-10-02 21:04:32 +00:00
Lee Salzman 5d27394460 Bug 1573683 - adjust fuzz for webkit-text-stroke-propery-003.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47939

--HG--
extra : moz-landing-system : lando
2019-10-02 17:31:38 +00:00
Lee Salzman 6ae3f3aa43 Bug 1584760 - expand fuzz range more for svg-as-border-image-4b.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47944

--HG--
extra : moz-landing-system : lando
2019-10-02 17:27:39 +00:00
Lee Salzman e4347a245f Bug 1582915 - adjust fuzz for element-paint-native-widget.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47940

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

--HG--
extra : moz-landing-system : lando
2019-10-02 16:40:58 +00:00
Lee Salzman fd28aa44da Bug 1583707 - enable text subpixel positioning on Android and Linux. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D47035

--HG--
extra : moz-landing-system : lando
2019-10-02 14:04:45 +00:00
Andrew Osmond ea01661965 Bug 1551088 - Part 8. Add reftest annotations for slight premultiplication differences. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46451

--HG--
extra : moz-landing-system : lando
2019-10-02 13:37:32 +00:00
Jeff Muizelaar 933084b066 Bug 1580922. Partially revert blob recoord fallback changes. r=nical
This moves the origin of fallback blobs back to the top left of their display
item bounds. This is what they were before the patches in bug 1568227 and makes
more sense because there's not necessarily a reference frame above the fallback
frame which means that the coordinates of the display item can change without
us wanting to invalidate the interior.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 22:23:45 +00:00
Glenn Watson 334f0b22f4 Bug 1584439 - Enable picture caching for scroll bars and UI content. r=nical
Once this patch lands, all content drawn by WebRender is drawn into
a picture cache surface.

This will incur some extra GPU memory overhead since there are extra
GPU texture buffers. Much of this can be reduced by adding a couple
of simple optimizations in future to detect tiles that are solid
colors only.

With this change, we'll now be able to provide exact dirty rects for
the entire screen without any hacks, and start the work to draw into
OS compositor surfaces directly.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 08:52:40 +00:00
Brindusan Cristian e139ad7ab8 Backed out changeset 88a32122785b (bug 1580922) for reftest failures at webkit-text-stroke-property-001.html. CLOSED TREE 2019-10-01 22:29:12 +03:00
Nicolas Silva a00d86beeb Bug 1582996 - Adjust reftest fuzziness of layout/reftests/svg/radialGradient-basic-03.svg. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D46811

--HG--
extra : moz-landing-system : lando
2019-09-30 14:46:16 +00:00
Jeff Muizelaar 869980f0d4 Bug 1580922. Partially revert blob recoord fallback changes. r=nical
This moves the origin of fallback blobs back to the top left of their display
item bounds. This is what they were before the patches in bug 1568227 and makes
more sense because there's not necessarily a reference frame above the fallback
frame which means that the coordinates of the display item can change without
us wanting to invalidate the interior.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 12:15:53 +00:00
Lee Salzman ff930e2935 Bug 1584760 - adjust fuzz more for svg-as-border-image-4b.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47632

--HG--
extra : moz-landing-system : lando
2019-10-01 12:58:21 +00:00
arthur.iakab 9bc47253cc Backed out changeset 3eba60b905c0 (bug 1584439) for causing wrench bustages CLOSED TREE 2019-10-01 09:12:49 +03:00
Glenn Watson cc9a8ee004 Bug 1584439 - Enable picture caching for scroll bars and UI content. r=nical
Once this patch lands, all content drawn by WebRender is drawn into
a picture cache surface.

This will incur some extra GPU memory overhead since there are extra
GPU texture buffers. Much of this can be reduced by adding a couple
of simple optimizations in future to detect tiles that are solid
colors only.

With this change, we'll now be able to provide exact dirty rects for
the entire screen without any hacks, and start the work to draw into
OS compositor surfaces directly.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 04:51:56 +00:00
Ciure Andrei 896ee6e424 Backed out changeset 4f126cfd8012 (bug 1584439) for causing wrench bustage CLOSED TREE 2019-10-01 07:39:54 +03:00
Glenn Watson e861c795b9 Bug 1584439 - Enable picture caching for scroll bars and UI content. r=nical
Once this patch lands, all content drawn by WebRender is drawn into
a picture cache surface.

This will incur some extra GPU memory overhead since there are extra
GPU texture buffers. Much of this can be reduced by adding a couple
of simple optimizations in future to detect tiles that are solid
colors only.

With this change, we'll now be able to provide exact dirty rects for
the entire screen without any hacks, and start the work to draw into
OS compositor surfaces directly.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 01:34:01 +00:00
Lee Salzman a82f5a6dea Bug 1582390 - adjust fuzz for attachment-local-clipping-image-6.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47722

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-09-30 16:34:16 +00:00
Geoff Brown 9d86f3f5e1 Bug 1584652 - add Android fuzzy-if for css-ui-valid/select/select-valid.html; r=dholbert
This avoids frequent intermittent failures observed with changes to be made by
bug 1584290 (changes which appear unrelated to this test).

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

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

DONTBUILD because this is a comment-only change.

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

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:47:35 +00:00
Glenn Watson ab1041de89 Bug 1581757 - Support slicing the scene into an arbitrary number of picture cache slices r=nical,kvark
Previously, the setup_picture_caching function was hard coded
to support only a very specific shape of display list. With this
change, flags are added to PrimitiveCluster that can specify
if a picture cache slice should be created before / after this
cluster when picture caching is set up.

The usage of these flags in this patch matches the old behaviour,
so should not have any functional effect.

However, in future we will make use of this functionality to
create picture slices for a number of different use cases, such as:

 * Creating cache tiles for the UI.
 * Slicing the scene where there are video elements, in order to
   allow these to be composited directly by the OS. This may also
   apply to WebGL and/or canvas elements.
 * Slicing the scene when there is a very large fixed position
   background image or other element, to avoid invalidating the
   entire tile cache each frame.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 21:14:36 +00:00
Lee Salzman 17ba335d48 Bug 1581735 - adjust fuzz for boxshadow-rotated.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47030

--HG--
extra : moz-landing-system : lando
2019-09-26 21:11:55 +00:00
Frederic Wang 8bf77b9030 Bug 1548530 - Remove support for numalign/denomalign/align attributes. r=emilio
Intent to unship: https://groups.google.com/forum/#!topic/mozilla.dev.platform/JnJVGTmIwPE

- Introduce a new preference option mathml.deprecated_alignment_attributes.disabled()
  to disable alignment attributes for mfrac/munder/mover/munderover elements.
- Disable the attributes in Nightly and when running WPT tests.
- Enable the attributes in other channels but add a counter and deprecation warning.
- Remove failure expectation for WPT test frac-numalign-denomalign-001.html for mfrac
- Add new WPT test for underover-legacy-align-attribute-001.html for munder/mover/munderover
- Enable the attributes for MathML reftests checking these attributes.
- Disable numalign/denomalign test for Mochitest test_bug975681.html when the attributes
  are disabled.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 11:25:26 +00:00
Dorel Luca f1e99da78f Backed out changeset c2c9dbf826fe (bug 1581757) by dev's request 2019-09-26 12:37:59 +03:00
Glenn Watson 2637b20d2f Bug 1581757 - Support slicing the scene into an arbitrary number of picture cache slices r=nical,kvark
Previously, the setup_picture_caching function was hard coded
to support only a very specific shape of display list. With this
change, flags are added to PrimitiveCluster that can specify
if a picture cache slice should be created before / after this
cluster when picture caching is set up.

The usage of these flags in this patch matches the old behaviour,
so should not have any functional effect.

However, in future we will make use of this functionality to
create picture slices for a number of different use cases, such as:

 * Creating cache tiles for the UI.
 * Slicing the scene where there are video elements, in order to
   allow these to be composited directly by the OS. This may also
   apply to WebGL and/or canvas elements.
 * Slicing the scene when there is a very large fixed position
   background image or other element, to avoid invalidating the
   entire tile cache each frame.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:38:42 +00:00
Lee Salzman 35231e20c2 Bug 1581334 - adjust fuzz for 456219-1ab.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47033

--HG--
extra : moz-landing-system : lando
2019-09-26 02:33:07 +00:00
Lee Salzman 3802e22be1 Bug 1582758 - adjust fuzz for svg-as-border-image-4b.html. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D47029

--HG--
extra : moz-landing-system : lando
2019-09-26 02:30:53 +00:00
Andreea Pavel 9fd779e03f Merge mozilla-central to autoland on a CLOSED TREE 2019-09-26 01:00:14 +03:00
Cosmin Sabou 6da90eb0b7 Backed out 9 changesets (bug 1551088) for causing Bug 1583848. a=backout
Backed out changeset d0ab25c226a7 (bug 1551088)
Backed out changeset 9ef391e20fa6 (bug 1551088)
Backed out changeset 3e6f25b21f8c (bug 1551088)
Backed out changeset 5d72c8de4daf (bug 1551088)
Backed out changeset f77c43bcc75b (bug 1551088)
Backed out changeset 9e954d6765de (bug 1551088)
Backed out changeset d90a571e581f (bug 1551088)
Backed out changeset 25a5f5563e9d (bug 1551088)
Backed out changeset bed9c93eeb2d (bug 1551088)
2019-09-25 18:42:48 +03:00
Tim Nguyen b0d1ddb586 Bug 1581956 - Make search-textbox not use the <textbox> tag. r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D46219

--HG--
extra : moz-landing-system : lando
2019-09-25 19:12:48 +00:00
Mihai Alexandru Michis fe884640eb Bug 1551088 - Update fuzzy range for background/border-image-repeat-round-2.html a=fix CLOSED TREE
--HG--
extra : rebase_source : d827e687a7a481c6ca9653ac52bada210388a6a0
2019-09-25 02:26:31 +03:00
Andrew Osmond b63ff49173 Bug 1551088 - Part 8. Add reftest annotations for slight premultiplication differences. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46451

--HG--
extra : moz-landing-system : lando
2019-09-24 20:42:50 +00:00
Oana Pop Rus 4f9a3f24ba Backed out 8 changesets (bug 1551088) for causing reftest failures in SwizzleAVX2.cpp and SwizzleSSSE3.cpp on a CLOSED TREE
Backed out changeset b3760d42e3bf (bug 1551088)
Backed out changeset 222e856b5bc3 (bug 1551088)
Backed out changeset b259c9fb5ad6 (bug 1551088)
Backed out changeset 5fe283ceaa0b (bug 1551088)
Backed out changeset d4dadb6ef0bd (bug 1551088)
Backed out changeset 925e26e17abe (bug 1551088)
Backed out changeset a011360f5018 (bug 1551088)
Backed out changeset 229c3d631d2e (bug 1551088)
2019-09-24 18:12:39 +03:00
Andrew Osmond 3ded595349 Bug 1551088 - Part 8. Add reftest annotations for slight premultiplication differences. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46451

--HG--
extra : moz-landing-system : lando
2019-09-24 13:31:41 +00:00
Andrew Osmond 9793f08b9b Bug 1581934 - Restore the calculation for a more precise picture local rect. r=kvark,gw
As it turns out, the difference between the snapped local rect and the
unsnapped local rect was not just that the former contained snapped
primitives and the latter contained unsnapped primitives, but also that
the former took into account surface inflation for primitives, the
entire clip chain instead of just the primitive's local clip, and
removal of culled primitives. As such, the picture's rects can be wildly
different, even if snapping has been taken care of earlier, and parts of
WebRender have come to rely upon this more accurate representation of a
picture.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 10:34:00 +00:00
arthur.iakab 5147f9a0ff Backed out changeset 43dbcbd6f57a (bug 1581934) for causing reftest failures on 1081185-1.html. 2019-09-24 06:17:53 +03:00
Andrew Osmond c3f9baa23f Bug 1581934 - Restore the calculation for a more precise picture local rect. r=kvark,gw
As it turns out, the difference between the snapped local rect and the
unsnapped local rect was not just that the former contained snapped
primitives and the latter contained unsnapped primitives, but also that
the former took into account surface inflation for primitives, the
entire clip chain instead of just the primitive's local clip, and
removal of culled primitives. As such, the picture's rects can be wildly
different, even if snapping has been taken care of earlier, and parts of
WebRender have come to rely upon this more accurate representation of a
picture.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 23:58:44 +00:00
Noemi Erli c9d5b4e3b5 Backed out changeset 56c82d00c513 (bug 1581934) for reftest failures CLOSED TREE 2019-09-24 00:53:30 +03:00
Andrew Osmond 32b92fbfc6 Bug 1581934 - Restore the calculation for a more precise picture local rect. r=kvark,gw
As it turns out, the difference between the snapped local rect and the
unsnapped local rect was not just that the former contained snapped
primitives and the latter contained unsnapped primitives, but also that
the former took into account surface inflation for primitives, the
entire clip chain instead of just the primitive's local clip, and
removal of culled primitives. As such, the picture's rects can be wildly
different, even if snapping has been taken care of earlier, and parts of
WebRender have come to rely upon this more accurate representation of a
picture.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 20:18:50 +00:00
Glenn Watson 88fc5481a2 Bug 1582038 - Update osx expectations for bugs/605138-1.html. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D46737

--HG--
extra : moz-landing-system : lando
2019-09-23 08:06:40 +00:00
Cameron McCormack 4ff6c875f8 Bug 1482778 - Include captions within table outlines. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D45802

--HG--
extra : moz-landing-system : lando
2019-09-22 23:42:04 +00:00
Jeff Muizelaar a34a0086a6 Bug 1582963. Make some image slice tests random-if on Android.
Differential Revision: https://phabricator.services.mozilla.com/D46713

--HG--
extra : moz-landing-system : lando
2019-09-21 18:16:22 +00:00
Cosmin Sabou 69acba5002 Backed out 8 changesets (bug 1551088) for causing build bustages. CLOSED TREE
Backed out changeset 02d9dc4d39a5 (bug 1551088)
Backed out changeset d7684ca35c0d (bug 1551088)
Backed out changeset b061b1bf8281 (bug 1551088)
Backed out changeset 4760b8b22ffd (bug 1551088)
Backed out changeset 4685fc022257 (bug 1551088)
Backed out changeset 91300f9f99bb (bug 1551088)
Backed out changeset 6da767c8d55c (bug 1551088)
Backed out changeset ec69be661551 (bug 1551088)
2019-09-21 14:52:41 +03:00
Andrew Osmond 8c8d2ae1df Bug 1551088 - Part 8. Add reftest annotations for slight premultiplication differences. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D46451

--HG--
extra : moz-landing-system : lando
2019-09-20 18:54:04 +00:00
Jeff Muizelaar d5395c6733 Bug 1582810. Drop clipped group bounds hack. r=aosmond
We don't need this anymore now that we're always
using the visible rect.

This requires bug 1582528 to properly set the visible area.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 01:11:56 +00:00
Ting-Yu Lin c46186dcef Bug 1514584 - Remove non-existing img src in column-balancing-overflow-003.html and its reference. r=dholbert
`image-short.png` never exists in the first place when this test was
introduced, so the intermittent happens when the test file shows a
broken image icon and the reference file without, or the other way
around.

I believe the `<img>` is served as a monolithic element to overflow
`<div class="short">`. Use an empty src should suffice.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 19:06:13 +00:00
Daniel Holbert 6adb0e04b4 Bug 1580302: Treat all flex items and grid items as being block-level in ReflowInput::InitConstraints. r=mats
In particular: in our frontend code, if we happen to end up with a flex/grid
item with 'display:-moz-box', we want it to take the same sizing codepath as
other flex/grid items, which are all block-level (even though -moz-box is not
exactly block-level itself). Notably, we want to use ComputeSizeFlags::eDefault
for sizing (like we do for real block-level things), because that's necessary
in order for grid items to stretch correctly in their inline axis.

Also: this patch renames "isBlock" to "isBlockLevel" to reflect reality. Its
naming is based on the constant NS_CSS_FRAME_TYPE_BLOCK, which in fact is not
specific to 'display:block' but in fact is for frames that are "block-level in
normal flow" (which I think in practice means block-level and not
out-of-flow). That is documented here:
https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/layout/generic/ReflowInput.h#51

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

--HG--
extra : moz-landing-system : lando
2019-09-19 23:43:55 +00:00
Bogdan Tara 4ba431cc02 Backed out changeset 928b755ef57b (bug 1539212) for backplate-bg-image-006.html failures 2019-09-20 03:59:03 +03:00
Morgan Reschenberg b20a6706d3 Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42979

--HG--
extra : moz-landing-system : lando
2019-09-19 21:25:12 +00:00
Nicolas Silva 72cdad8784 Bug 1581804 - Adjust webrender+geckoview reftest thresholds after blob recoordination changes. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D46142

--HG--
extra : moz-landing-system : lando
2019-09-18 16:23:59 +00:00
L. David Baron 8282644722 Bug 1581718 - Avoid strange results for orthogonal-flow cases in CalculateBlockSideMargins when border/padding/margin are present. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D46143

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

--HG--
extra : rebase_source : 83f93617e4fd914663bb47875a53aa5cd602dbb9
2019-09-18 00:06:53 +03:00
Jonathan Kew 448c7f2718 Bug 1241631 - Add reftest for bug in innerText with soft-wrapped text and word-break:break-all. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D45159

--HG--
extra : moz-landing-system : lando
2019-09-17 17:28:20 +00:00
Dorel Luca b72e71eaa5 Backed out changeset 0579d0d5f0c0 (bug 1562057) by dev's request. CLOSED TREE 2019-09-17 21:07:34 +03:00
Gurzau Raul e5a686340a Backed out changeset 54b59550e73a (bug 1581804) for failures at /reftests/svg/reftest.list on a CLOSED TREE. 2019-09-17 18:02:07 +03:00
L. David Baron 8e1bd9128f Bug 1581718 - Avoid strange results for orthogonal-flow cases in CalculateBlockSideMargins when border/padding/margin are present. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D46143

--HG--
extra : moz-landing-system : lando
2019-09-17 14:27:24 +00:00
Nicolas Silva e2489e2d2d Bug 1581804 - Adjust webrender+geckoview reftest thresholds after blob recoordination changes. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D46142

--HG--
extra : moz-landing-system : lando
2019-09-17 13:53:30 +00:00
Nicolas Silva 9dd239c107 Bug 1570081 - Adjust a reftest. r=jnicol,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D46145

--HG--
extra : moz-landing-system : lando
2019-09-17 13:25:47 +00:00
Nicolas Silva 23df4cc94f Bug 1570081 - Update reftests. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D41389

--HG--
extra : moz-landing-system : lando
2019-09-17 09:13:35 +00:00
Ting-Yu Lin 604bb5b99b Bug 1575964 Part 3 - Add new reftests for RTL columns, and run them with column-span enabled. r=dholbert
Delete `td {width: 25%}` and prefixed multi-column properties in
column-box-alignment-rtl.html because they are not needed.

rtl2.html is rtl.html plus `inline-size: 600px` on the column container.

rtl3.html is rtl.html plus `html { writing-mode: vertical-rl; }`.
Similarly, rtl4.html is rtl2.html plus
`html { writing-mode: vertical-rl; }`.

Note: in rtl2-ref.html and re4-ref.html, I added
`box-sizing: content-box` to `table` because `table` defaults to
`box-sizing: border-box`.

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

--HG--
rename : layout/reftests/columns/column-box-alignment-rtl-ref.html => layout/reftests/columns/column-box-alignment-rtl-2-ref.html
rename : layout/reftests/columns/column-box-alignment-rtl.html => layout/reftests/columns/column-box-alignment-rtl-2.html
rename : layout/reftests/columns/column-box-alignment-rtl.html => layout/reftests/columns/column-box-alignment-rtl-3.html
rename : layout/reftests/columns/column-box-alignment-rtl.html => layout/reftests/columns/column-box-alignment-rtl-4.html
extra : moz-landing-system : lando
2019-09-16 22:45:18 +00:00
Brindusan Cristian 4a840d4653 Backed out changeset f5b8fba989b4 (bug 1539212) for reftest failures on backplate-bg-image-001.html. CLOSED TREE 2019-09-17 00:01:04 +03:00
Lee Salzman 4b7fcf7dca Bug 1547063 - fuzz for SharedFTFace. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44498

--HG--
extra : moz-landing-system : lando
2019-09-16 16:46:12 +00:00
Morgan Reschenberg 8c4b2ed8ff Bug 1539212: Add readability backplate for all elements containing text when HCM or a11y theme is active. r=dholbert,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42979

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

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

--HG--
extra : moz-landing-system : lando
2019-09-16 17:33:38 +00:00
Cosmin Sabou 7ed8e2d3d1 Merge autoland to mozilla-central. a=merge 2019-09-16 11:16:05 +03:00
Cosmin Sabou 8113720646 Backed out 8 changesets (bug 1547063) for causing bug 1581466. a=backout
Backed out changeset c969a93b0ca7 (bug 1547063)
Backed out changeset 003f5a79c6a7 (bug 1547063)
Backed out changeset 2c7032b4d022 (bug 1547063)
Backed out changeset 23892ecc6ef8 (bug 1547063)
Backed out changeset af6e6807ece7 (bug 1547063)
Backed out changeset ebc71e607938 (bug 1547063)
Backed out changeset 772c3427c791 (bug 1547063)
Backed out changeset e74a67e2afe3 (bug 1547063)
2019-09-16 10:44:20 +03:00
fantasai d9d30c73ad Bug 1315892 - 'text-orientation: upright' forces used 'direction' to LTR. r=jfkthame 2019-09-16 09:23:30 +09:00
Timothy Nikkel c0e2485655 Bug 1577714. Increase time between transform tweaks in layout/reftests/bugs/1553571-1.html so reftest harness has time to finish test.
Differential Revision: https://phabricator.services.mozilla.com/D45962

--HG--
extra : moz-landing-system : lando
2019-09-15 20:48:06 +00:00
Lee Salzman d1e33e3e11 Bug 1547063 - fuzz for SharedFTFace. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44498

--HG--
extra : moz-landing-system : lando
2019-09-15 03:01:37 +00:00
Andrew Osmond ab39496ccc Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-14 16:16:59 +00:00
Ciure Andrei a4046ec458 Backed out 6 changesets (bug 1574493) for causing nested-sticky-2.html to perma fail CLOSED TREE
Backed out changeset 358746636448 (bug 1574493)
Backed out changeset 34aef5498237 (bug 1574493)
Backed out changeset 1f88e2031c76 (bug 1574493)
Backed out changeset 07c588b5ea10 (bug 1574493)
Backed out changeset 0685e8d3510e (bug 1574493)
Backed out changeset 15d4390220c4 (bug 1574493)
2019-09-13 19:26:50 +03:00
Andrew Osmond 35a0f13ba2 Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-13 14:03:28 +00:00
Ciure Andrei 8c3feea58a Backed out 6 changesets (bug 1574493) for causing nested-sticky-1.html to perma fail CLOSED TREE
Backed out changeset fdc25a90b0ef (bug 1574493)
Backed out changeset 0ce3c48c1f79 (bug 1574493)
Backed out changeset 326b9f96614b (bug 1574493)
Backed out changeset b0817c0aee77 (bug 1574493)
Backed out changeset 70d99c264df9 (bug 1574493)
Backed out changeset e5217ab4b668 (bug 1574493)
2019-09-13 16:17:47 +03:00
Andrew Osmond 4d96fe56c4 Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-13 10:48:37 +00:00
Glenn Watson 2a6388af48 Bug 1581021 - Update expectations for clipped-mixblendmode-containing-unclipped-stuff.html r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45795

--HG--
extra : moz-landing-system : lando
2019-09-13 07:14:28 +00:00
Andreea Pavel 730793a2ef Backed out 5 changesets (bug 1570081) for assertion failure at WebRenderCommandBuilder.cpp on a CLOSED TREE
Backed out changeset 8d4baf4d063a (bug 1570081)
Backed out changeset 14a4451b2781 (bug 1570081)
Backed out changeset ba19640abf33 (bug 1570081)
Backed out changeset 214c815015a8 (bug 1570081)
Backed out changeset 548e4395ee1a (bug 1570081)
2019-09-13 11:24:59 +03:00
Nicolas Silva af26140db1 Bug 1570081 - Update reftests. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D41389

--HG--
extra : moz-landing-system : lando
2019-09-12 15:55:47 +00:00
Glenn Watson b20828d80a Bug 1580696 - Update tier2 expectations for 605138-1.html. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D45737

--HG--
extra : moz-landing-system : lando
2019-09-12 21:02:05 +00:00
Glenn Watson 8bd19d2c03 Bug 1580698 - Update tier2 expectations for mask-img.html. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D45736

--HG--
extra : moz-landing-system : lando
2019-09-12 21:01:57 +00:00
Glenn Watson d86c183e22 Bug 1580358 - Update android fuzziness for filter-clipped-rect-01.svg r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D45735

--HG--
extra : moz-landing-system : lando
2019-09-12 21:01:45 +00:00
Gurzau Raul fe4bb6d539 Backed out 6 changesets (bug 1574493) for wrench failures at stacking-context-clip.yaml on a CLOSED TREE.
Backed out changeset 8a8736ac4e25 (bug 1574493)
Backed out changeset 4a3294e88823 (bug 1574493)
Backed out changeset 0c26ecdc1ddc (bug 1574493)
Backed out changeset 11257f7b3ad3 (bug 1574493)
Backed out changeset dcedc286ad9d (bug 1574493)
Backed out changeset 87f216e0753d (bug 1574493)
2019-09-12 18:34:07 +03:00
Andrew Osmond ff567c5ddb Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:52 +00:00
Florian Rivoal 9ead971a06 Bug 1562057 - Make empty <select> elements the same size as size-contained ones. r=dholbert
Per the css-contain specification, size contained element must be sized as if
they were empty. The code added to handle size containment shortciruits the
(inline) size calculations, and returns 0. However, an empty <select> element
is rendered as if it contained a &nbsp; and some padding gets added to it by
the UA stylesheet (forms.css). This causes reftest that check that
size-contained <select> elements and empty ones look the same.

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

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

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:37:55 +00:00
Ting-Yu Lin b50d29b125 Bug 1579953 - Check details element to determine whether to reframe. r=emilio
If the <details> has ::first-letter, insertion.mParentFrame may be
modified by GetInsertionPrevSibling(), and points to nsFirstLetterFrame.

Fortunately, nsFirstLetterFrame's content is the details element. We can
check the content to determine if reframing the <details> is needed.

Also, add a reftest to test that an appended text should apply styles in
details::first-line.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 00:04:26 +00:00
Luca Greco eb5970c2fc Bug 1543639 - Fix svg-glyph-extents reftest timeouts when running on Fennec with webcompat extension installed. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D45028

--HG--
extra : moz-landing-system : lando
2019-09-08 23:21:47 +00:00
Bob Owen 94dc85db8f Bug 1577515: Add fuzz to some Canvas 2D reftests when remote canvas enabled. r=jrmuizel
This is required due to different backends being used for SVG images and canvas.

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

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

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

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

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

```
import fileinput
import glob

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

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

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

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

```

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

--HG--
extra : moz-landing-system : lando
2019-09-06 08:25:39 +00:00
Geoff Brown 56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following 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 "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Ting-Yu Lin f0a1298eaa Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert
In the next part, the patch generated by a script removes "-moz" prefix
to all multi-column properties.

However, some of the tests already have standard multi-column properties
specified. To avoid duplicating CSS multi-column rules in these
files (after applying the next part), I manually remove the prefixed
rules beforehand as many as possible.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:32:05 +00:00
Daniel Holbert 2933f10325 Bug 1092007 part 2: Treat a flex item's main-size as indefinite if the item and the container both have an indefinite size in that axis. r=mats
Flex containers resolve a main-axis size for each of their flex items, and they
impose this size on the flex items by stomping on the items'
ReflowInput::ComputedISize() or ComputedBSize() data.  For cases when we're
stomping on the flex item's block-axis, then this can make us improperly treat
this size as definite (i.e. use it for percent resolution).

The flexbox spec does call out some cases where the item's size *is* supposed
to be considered definite[1], but if we're not in one of those cases, we need
to be careful to treat the size as indefinite even though it's been resolved.

This patch achieves this by:
 - adding a flag to FlexItem, which gets set in cases where we know we need to
   treat the size as indefinite.
 - adding a flag to ReflowInput, which gets set whenever a ComputedBSize is
   imposed (if the FlexItem had its flag set).
 - adding some code to the ReflowInput percent-resolution codepath to test for
   this flag and skip past percent-resolution if it's set.

This patch makes us pass all of the existing testcases in the web-platform-test
"percentage-heights-003.html". This patch also adds a few more subtests
there to exercise cases where the flex container and item have orthogonal
writing-modes.

(Note the XXXdholbert comments in the patch about items being "fully
inflexible" in some cases in order to be treated as having a definite size.
If I were to address that comment here, then we would start failing the
web-platform-test "percentage-heights-005.html", which all browsers currently
pass[2]. Therefore, I'm not adding that restriction at this point.)

[1] https://drafts.csswg.org/css-flexbox/#definite-sizes
[2] https://wpt.fyi/results/css/css-flexbox/percentage-heights-005.html

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

--HG--
extra : moz-landing-system : lando
2019-09-04 22:45:08 +00:00
Daniel Holbert d8257a522d Bug 1577072 followup: Use an even larger line-height in our "bigger-than-one" text-input line-height reftest, to accommodate bigger widgets on Debian. r=dbaron
Previous commit on this bug bumped up the test from a line-height of 1.5
to 1.8, but that's still not taller than the default widget height on Debian.
But 2.5 does seem to be sufficiently tall to produce a size difference.

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

--HG--
rename : layout/reftests/forms/input/text/line-height-1.8.html => layout/reftests/forms/input/text/line-height-2.5.html
extra : moz-landing-system : lando
2019-09-04 22:13:07 +00:00
Kris Taeleman eaa0124969 Bug 1522422 - Fixing opacity issue on SVG USE elements in D2D. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44059

--HG--
extra : moz-landing-system : lando
2019-09-04 13:26:43 +00:00
Jonathan Kew b58515d440 Bug 1573711 - Account for baseline offset (potential effect of vertical-align property) when computing skip-ink intercepts. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D44297

--HG--
extra : moz-landing-system : lando
2019-08-31 04:32:55 +00:00
Xidorn Quan fc104758ba Bug 1565681 - Have ruby base container sized based on margin box of ruby bases. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D43353

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:11:14 +00:00