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

11373 Коммитов

Автор SHA1 Сообщение Дата
David Parks 2b32f597cb Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-06 19:28:09 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks 3f9712f20f Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-05 23:48:32 +00:00
Tim Nguyen ad5d6106d3 Bug 1702489 - Move logical float/clear reftests to WPT. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110547
2021-04-01 18:42:00 +00:00
Daniel Holbert 0414682ea1 Bug 1701510: Zero out the 'body' margin for all ImageDocuments (including iframes and printed images). r=emilio
This makes us match Blink and WebKit on how to render an iframe whose src
attribute is an image URL.  They seem to have always used 0 margin in this
case, and this seems preferable from an author's perspective (since the
standard HTML-body margin feels kind of arbitrary, when viewing an image).

Note that this change does also mean that images will be slightly closer to the
upper-left of the page, if they're viewed directly and then printed.  This
shouldn't cause them to be clipped or cause other issues; they'll still be
offset from the page edge by the printed-page margins, as well as any
unprintable areas that we get from the printer.

Differential Revision: https://phabricator.services.mozilla.com/D110294
2021-04-01 00:24:10 +00:00
Glenn Watson bb6799c7b5 Bug 1700539 - Allow negative scale in ScaleOffset type. r=gfx-reviewers,kvark
Previously, a transform with a negative scale would result in a
new coordinate system being created when updating the spatial
tree.

This meant that a primitive in that space with a clip in a parent
space would create a clip mask (and was thus unable to be promoted
to a compositor surface).

This change allows negative scales to be part of the same coord
system (since they are still axis-aligned with the parent) and
avoid a clip mask in this case.

Differential Revision: https://phabricator.services.mozilla.com/D109580
2021-03-31 00:48:48 +00:00
Jonathan Kew 7cc14fe709 Bug 1686512 - Revise existing reftest for the changed treatment of symbols; also add a WPT reftest for this behavior. r=emilio
Depends on D110223

Differential Revision: https://phabricator.services.mozilla.com/D110224
2021-03-30 19:44:24 +00:00
Brindusan Cristian 519ef52f2d Backed out changeset 9040424c0cb8 (bug 1700539) for wpt crashes. CLOSED TREE 2021-03-30 01:44:34 +03:00
Glenn Watson a062b3f7ec Bug 1700539 - Allow negative scale in ScaleOffset type. r=gfx-reviewers,kvark
Previously, a transform with a negative scale would result in a
new coordinate system being created when updating the spatial
tree.

This meant that a primitive in that space with a clip in a parent
space would create a clip mask (and was thus unable to be promoted
to a compositor surface).

This change allows negative scales to be part of the same coord
system (since they are still axis-aligned with the parent) and
avoid a clip mask in this case.

Differential Revision: https://phabricator.services.mozilla.com/D109580
2021-03-29 20:09:13 +00:00
Jeff Muizelaar 7735c5e6f2 Bug 1700717 - Build SWGL with -ffast-math. r=lsalzman
Most GLSL compilers will do the kinds of optimizations that
fast-math allows so we should take advantage of them too.

Differential Revision: https://phabricator.services.mozilla.com/D109657
2021-03-29 19:44:28 +00:00
Jim Blandy 6120b10dab Bug 1701292: Remove deleted subdirectory from layout/reftests/backgrounds/reftest.list. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D109941
2021-03-29 17:41:15 +00:00
Jonathan Kew b75702f542 Bug 1462231 - Implement support for font-size-adjust in the Android (FT2) font backend. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D110019
2021-03-29 09:15:18 +00:00
Butkovits Atila 74d0efd110 Backed out changeset 968458ff9c16 (bug 1462231) for causing failure at 812893.html. CLOSED TREE 2021-03-29 07:33:23 +03:00
Jonathan Kew ac8c50dc3d Bug 1462231 - Implement support for font-size-adjust in the Android (FT2) font backend. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D110019
2021-03-28 21:32:41 +00:00
Masayuki Nakano 76d4c67ad9 Bug 1701138 - Make 572598-ref.html set `readonly` attribute of the `<input>` element r=smaug
Now, `<input>` element and `<textarea>` element handle `contentReadOnly` command
as toggling `readonly` attribute.  Therefore, the result may be different if
and only if the theme changes the style with `readonly` attribute.

Therefore, the test result of 572598.html has been changed in logical, but
it's not been found because only GTK's native theme has different style for
`<input>` and `<input readonly>`.

This patch just changes the reference.

Differential Revision: https://phabricator.services.mozilla.com/D109852
2021-03-27 00:47:11 +00:00
Botond Ballo a81c1d3997 Bug 1699880 - Gate the test async scroll offset going into overscroll on a pref. r=tnikkel
This way, tests which specifically want to test overscroll can set the
pref explicitly, and other tests need not worry about accidentally
going into overscroll.

Differential Revision: https://phabricator.services.mozilla.com/D109435
2021-03-26 04:13:54 +00:00
Ting-Yu Lin c3ee9188d2 Bug 1527949 - Include the block container's block-end padding when computing its overflow area. r=emilio
Per spec, the scrollable overflow area is the union of the box's own
content and padding areas.
https://drafts.csswg.org/css-overflow-3/#scrollable

In this part, we add block container's block-end padding to its
children's block-end edge.

This patch reverts some of the test references modification in
https://hg.mozilla.org/mozilla-central/rev/905ef8691d96dce44120ba562d67754ceac8ff81

Differential Revision: https://phabricator.services.mozilla.com/D108890
2021-03-26 01:06:13 +00:00
Emilio Cobos Álvarez ab1118bc65 Bug 1700802 - Add a small radius to the auto style outline. r=mstange
(When not following the frame's border radius of course)

This makes stuff like:

  data:text/html,<input style="border-color: lightgrey">

More aesthetically pleasing when focused, and we still keep the square
inside the outline (this is what Safari does).

Differential Revision: https://phabricator.services.mozilla.com/D109680
2021-03-25 11:28:08 +00:00
Alexandru Michis 75057cbe4c Backed out changeset b4c24acb1025 (bug 1700717) for causing wrench bustages.
CLOSED TREE
2021-03-25 05:39:32 +02:00
Jeff Muizelaar 593097f5a2 Bug 1700717 - Build SWGL with -ffast-math. r=lsalzman
Most GLSL compilers will do the kinds of optimizations that
fast-math allows so we should take advantage of them too.

Differential Revision: https://phabricator.services.mozilla.com/D109657
2021-03-25 03:08:36 +00:00
Jonathan Kew 93e84147b4 Bug 1697666 followup - Make the osaka-mono-exists test confirm that if Osaka is present, then Osaka-Mono is also available. r=arai
This version of the test passes for me locally with Osaka/Osaka-Mono installed, and also passes
(because both test and reference fall back to serif) if they're absent. It should fail only if
the Osaka family is present, but the Osaka-Mono family name (which is the special-case entry
that was broken) is not recognized.

Differential Revision: https://phabricator.services.mozilla.com/D109223
2021-03-24 15:15:23 +00:00
Emilio Cobos Álvarez 2366c509a8 WIP: Bug 1700132 - Annotate an intermittent test failure in forms/input/number/focus-handling.html.
This is a real issue, but realistically we're probably not going to dig
a lot into it, and it wasn't really caused by the regressing bug in any
meaningful way.

Differential Revision: https://phabricator.services.mozilla.com/D109532
2021-03-23 19:27:51 +00:00
Ting-Yu Lin 43f0d51226 Bug 1226305 - Fix clipRect if overflow-clip-box is content-box in any axis. r=emilio
In ScrollFrameHelper::BuildDisplayList(), before comparing the clipRect
with scrollable overflow area, we should deflate the clipRect with
padding if overflow-clip-box is content-box in any axis, to get the
correct content-box dimension in that axis.

overflow-clip-box-3.html is adapted from the testcase attached in
bug 1226305 comment 0.

Differential Revision: https://phabricator.services.mozilla.com/D109097
2021-03-22 17:57:35 +00:00
Ting-Yu Lin 7ba64928c3 Bug 1699878 - Speed up and reduce fuzziness for reftest 966992-1.html. r=emilio
Delete <script> and reftest-wait because the scrollbar shouldn't be
fading in the reftest, and we can save 5 seconds on CI!

Use default monospace font which is good enough without fuzziness.

Delete style for textarea because there is no textarea in the test nor
in the reference.

Differential Revision: https://phabricator.services.mozilla.com/D109193
2021-03-22 17:57:03 +00:00
Emilio Cobos Álvarez a44a4a8b0f Bug 1699931 - A couple more fuzzy annotation changes.
MANUAL PUSH: Orange CLOSED TREE
2021-03-22 14:47:15 +01:00
Emilio Cobos Álvarez 1f07981930 Bug 1699931 - Annotate a test that's less fuzzy.
MANUAL PUSH: Orange CLOSED TREE
2021-03-22 13:29:02 +01:00
Emilio Cobos Álvarez 4d323df8c3 Bug 1699931 - A couple other fuzz tweaks.
MANUAL PUSH: Orange CLOSED TREE
2021-03-22 10:53:23 +01:00
Emilio Cobos Álvarez 778d2f8c7c Bug 1699931 - Annotate element-paint-native-widget for less fuzziness now that WR and fallback agree on the radius.
MANUAL PUSH: Orange fixups on a CLOSED TREE
2021-03-22 10:15:57 +01:00
Emilio Cobos Álvarez 6934cebe95 Bug 1699931 - Fix 1212823-2-ref.html to actually match the border radius we use on the non-native theme. 2021-03-22 10:15:20 +01:00
Andreea Pavel cb1a40bfbe Bug 1694887 - adjust reftest fuzzy annotations r=dholbert DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109236
2021-03-21 16:14:46 +00:00
Emilio Cobos Álvarez 50199c23cf Bug 1699937 - Fix test annotation for test that's expected to fail now.
MANUAL PUSH: orange CLOSED TREE
2021-03-21 01:31:10 +01:00
Lee Salzman 650f5d23bb Bug 1699884 - Restore SWGL radial gradient fast-path in cs_radial_gradient. r=jrmuizel,gfx-reviewers,nical
Bug 1687977 removed brush_radial_gradient as well as the SWGL fast-path with it. This
adds it back inside cs_radial_gradient.

Differential Revision: https://phabricator.services.mozilla.com/D109195
2021-03-20 18:24:43 +00:00
Emilio Cobos Álvarez 806c597c43 Bug 1699814 - Annotate a failure that already happens in a lot of other themes pending more discussion in bug 1699924.
Differential Revision: https://phabricator.services.mozilla.com/D109203
2021-03-20 15:54:29 +00:00
Cosmin Sabou 8f51cff960 Backed out changeset 00bab85fab62 (bug 1699814) for osx reftest failures. 2021-03-20 19:58:41 +02:00
Cosmin Sabou 9be1e4e3b4 Backed out changeset f52ab8c3d72c (bug 1699884) for reftest failures on radial-premul.html. 2021-03-20 19:11:53 +02:00
Lee Salzman a3e18a902f Bug 1699884 - Restore SWGL radial gradient fast-path in cs_radial_gradient. r=jrmuizel,gfx-reviewers,nical
Bug 1687977 removed brush_radial_gradient as well as the SWGL fast-path with it. This
adds it back inside cs_radial_gradient.

Differential Revision: https://phabricator.services.mozilla.com/D109195
2021-03-20 16:12:48 +00:00
Emilio Cobos Álvarez 8167855ef5 Bug 1699814 - Annotate a failure that already happens in a lot of other themes pending more discussion in bug 1699924.
Differential Revision: https://phabricator.services.mozilla.com/D109203
2021-03-20 15:54:29 +00:00
Emilio Cobos Álvarez ff3cc66e5e Bug 1699918 - Annotate a WR+cocoa failure in 513153-2a.html.
This is a known issue with WebRender fallback really...

Differential Revision: https://phabricator.services.mozilla.com/D109202
2021-03-20 15:28:07 +00:00
Alexandru Michis 516b15ac98 Bug 1697712 - Fix manifest typo in async-scrolling/reftest.list a=fix
CLOSED TREE
2021-03-20 04:52:15 +02:00
Sawyer Bergeron cca020a971 Bug 1697712 - Allow going into overscroll using the test async scroll offset r=tnikkel
Also add a reftest which uses this to test overscroll rendering.

Differential Revision: https://phabricator.services.mozilla.com/D102115
2021-03-20 02:20:42 +00:00
Joel Maher a442008bc5 Bug 1699544 - migrate reftest from osx 10.14 -> 10.15 r=ahal
migrate reftest from osx 10.14 -> 10.15

Differential Revision: https://phabricator.services.mozilla.com/D108986
2021-03-19 14:57:08 +00:00
Nicolas Silva 51e89af493 Bug 1687977 - Part 11 - Adjust reftest references. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D108470
2021-03-19 13:54:43 +00:00
Noemi Erli 61d6f12836 Backed out 7 changesets (bug 1687977) for causing build bustages CLOSED TREE
Backed out changeset 47f20111056a (bug 1687977)
Backed out changeset 56ef057fc29c (bug 1687977)
Backed out changeset 72bcd469b597 (bug 1687977)
Backed out changeset ddceb031f73b (bug 1687977)
Backed out changeset 526d512c6cf9 (bug 1687977)
Backed out changeset 2f392cb56f71 (bug 1687977)
Backed out changeset 2865e8332baa (bug 1687977)
2021-03-19 11:52:25 +02:00
Nicolas Silva d8cbdc6d73 Bug 1687977 - Part 11 - Adjust reftest references. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D108470
2021-03-19 09:34:27 +00:00
Emilio Cobos Álvarez 60313cf389 Bug 1699154 - Tweak 1174332-1-ref.html annotation a bit more.
MANUAL PUSH: Reftest failures on a CLOSED TREE
2021-03-18 23:02:24 +01:00
Ryan VanderMeulen d2aa8e51a1 Backed out 3 changesets (bug 1669840) for causing bug 1696761.
Backed out changeset c648cec12f77 (bug 1669840)
Backed out changeset b4f43fdd6d04 (bug 1669840)
Backed out changeset 1582820076e0 (bug 1669840)

CLOSED TREE
2021-03-18 17:54:58 -04:00
Andreea Pavel 9ca279c3c1 Bug 1699154 - Tweak 1174332-1-ref.html annotation r=test-only CLOSED TREE 2021-03-18 23:45:41 +02:00
Emilio Cobos Álvarez 52e3823a9c Bug 1699154 - Tweak focusring heuristics for script focus. r=edgar
What we implemented before this patch was basically what the heuristics
in the spec said, which used to be normative:

  https://drafts.csswg.org/selectors/#the-focus-visible-pseudo

That has become non-normative and there's ongoing discussion on what
should happen for cases like this in:

  https://github.com/w3c/csswg-drafts/issues/5885
  https://github.com/web-platform-tests/wpt/pull/27806

There seems to be agreement on that WPT issue on cases like this one, so
let's make it work.

Differential Revision: https://phabricator.services.mozilla.com/D108805
2021-03-18 19:53:38 +00:00
Stephen A Pohl c5af287e10 Bug 1696113: Add some fuzz to a reftest when the non-native theme is enabled on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D108971
2021-03-18 17:17:58 +00:00
smolnar b2e94b592b Backed out changeset 74ab7aa60b1a (bug 1699154) for causing reftest failures. CLOSED TREE 2021-03-18 18:39:44 +02:00