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

10124 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta a48c958c4a Bug 1564275 - Tweak allowed fuzz for 456219-1c.html. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D37418

--HG--
extra : moz-landing-system : lando
2019-07-09 16:23:51 +00:00
Kartikaya Gupta 19648f643e Bug 1564409 - Tweak allowed fuzz for img-width-slice-1.html. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D37417

--HG--
extra : moz-landing-system : lando
2019-07-09 16:23:51 +00:00
Kartikaya Gupta 9368f243bc Bug 1564429 - Tweak allowed fuzz to cover new values with WebRender on Geckoview, after bug 1409773. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D37416

--HG--
extra : moz-landing-system : lando
2019-07-09 14:20:27 +00:00
Kartikaya Gupta 9128a05784 Bug 1564383 - Mark test as passing with WebRender on Geckoview. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D37415

--HG--
extra : moz-landing-system : lando
2019-07-09 14:20:27 +00:00
Narcis Beleuzu 4b16f12a07 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-09 06:51:10 +03:00
Narcis Beleuzu 59c3fccd33 Merge inbound to mozilla-central. a=merge 2019-07-09 06:45:48 +03:00
Hiroyuki Ikezoe 3c50a262de Bug 1516322 - Enable all reftests in layout/reftests/meta-viewport on Windows. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37032

--HG--
extra : moz-landing-system : lando
2019-07-08 18:51:51 +00:00
Andrew Osmond e501ee889d Bug 1409773 - Use WebRender instead of fallback for border raster images. r=jrmuizel
Before this patch, we would use fallback for all border images. Now for
all but vector images we will use the WebRender border images
primitives. Vector images are an exception because the fallback is
clever in that it upscales the vector image and clips to only draw the
region it requires. This avoids artifacting but to do something similar
for WebRender as it is currently defined, we would increase our CPU and
memory footprint as we would need to produce the entire vector image
upscaled, not just the parts we need. In the future we should change
WebRender to accept different image resources for each of the segments.

Differential Revision: https://phabricator.services.mozilla.com/D37093
2019-07-08 12:54:44 -04:00
Hiroyuki Ikezoe e1744fe34b Bug 1564021 - Use the default desktop width (980px) in the case where we have any viewport meta element but no valid content there. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D37329

--HG--
extra : moz-landing-system : lando
2019-07-09 01:56:34 +00:00
Hiroyuki Ikezoe dcfdeea7f1 Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond
Without the change a green rectangle in each reftest in this commit covers whole
screen.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 00:02:48 +00:00
Emilio Cobos Álvarez 74837c0281 Bug 1563484 - Add reftests for this bug. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D36895

--HG--
extra : moz-landing-system : lando
2019-07-06 08:20:14 +00:00
Emilio Cobos Álvarez 6754f5f967 Bug 1563484 - Add reftest support for text-zoom. r=dbaron
Seems we had no reftests for this feature :(

Depends on D36893

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

--HG--
extra : moz-landing-system : lando
2019-07-05 21:33:37 +00:00
Kartikaya Gupta 9f2ef918cb Bug 1563691 - Add GV+WR fuzz annotation for new test. r=gbrown
Depends on D37066

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:43:05 +00:00
Kartikaya Gupta f81fad2520 Bug 1563737 - Tweak fuzz on element-paint-native-widget.html. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D37066

--HG--
extra : moz-landing-system : lando
2019-07-05 14:44:38 +00:00
Kartikaya Gupta 30a866a3ac Bug 1525314 - Disable tests that crash. r=gbrown
Depends on D36798

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

--HG--
extra : moz-landing-system : lando
2019-07-04 21:34:59 +00:00
Kartikaya Gupta ec2096ed3f Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36798

--HG--
extra : moz-landing-system : lando
2019-07-04 21:57:48 +00:00
Kartikaya Gupta a898111144 Bug 1525314 - Auto-fuzz WR on Android with maxDifference<=2. r=jmaher
Due to the sheer number of tests that exhibit a random fuzz with maxDifference=1
and maxDifference=2 with WR on Android, it's easier to just tweak the harness
to autofuzz these away. This adds machinery to do so, and also adds a new
annotation that can be used to disable the autofuzzing on specific tests.

Depends on D36794

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

--HG--
extra : moz-landing-system : lando
2019-07-04 21:35:04 +00:00
Coroiu Cristina 3983fddf6d Backed out 6 changesets (bug 1525314) for reftest failures at reftests/svg/filters/css-filters/saturate-zero.html om a CLOSED TREE
Backed out changeset 0ed2509b7191 (bug 1525314)
Backed out changeset af72d1c4c107 (bug 1525314)
Backed out changeset ab21a3ff4ae4 (bug 1525314)
Backed out changeset 02399933ac4b (bug 1525314)
Backed out changeset 95790a07a93c (bug 1525314)
Backed out changeset 28f52fd3934e (bug 1525314)
2019-07-05 00:29:12 +03:00
Kartikaya Gupta 7cfd94cc2c Bug 1525314 - Disable tests that crash. r=gbrown
Depends on D36798

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:09:40 +00:00
Kartikaya Gupta c08a0b6539 Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown
Depends on D36797

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:13:33 +00:00
Kartikaya Gupta 3d830c4a8c Bug 1525314 - Auto-fuzz WR on Android with maxDifference<=2. r=jmaher
Due to the sheer number of tests that exhibit a random fuzz with maxDifference=1
and maxDifference=2 with WR on Android, it's easier to just tweak the harness
to autofuzz these away. This adds machinery to do so, and also adds a new
annotation that can be used to disable the autofuzzing on specific tests.

Depends on D36794

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

--HG--
extra : moz-landing-system : lando
2019-07-03 17:59:55 +00:00
Jonathan Kew 947857981c Bug 1562733 - Properly transform DetailedGlyph offsets when rendering vertical (rotated) text through webrender. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D36795

--HG--
extra : moz-landing-system : lando
2019-07-04 11:58:35 +00:00
Jonathan Kew d7932775f8 Bug 1562733 - Add reftests using Noto Nastaliq in vertical (sideways) writing mode. r=lsalzman
The sideways-rl test is fuzzy (even without webrender) because we get a 1px discrepancy
in baseline positioning for the rotated text; presumably the rotation done by sideways-rl
and that done by CSS transform end up rounding the center of rotation differently. That's
probably a bug we should fix, although offhand I'm not sure which is more correct; anyhow,
it's a separate issue from the bug here.

When WebRender is enabled, the test/reference difference is much greater because many of
the glyphs are wildly misplaced, not just shifted by 1px, so it still fails despite the
fuzzy() annotation.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 18:24:03 +00:00
Jeff Muizelaar e4c1e944b8 Bug 1563359. Add a test for clipping and stroking text. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D36825

--HG--
extra : moz-landing-system : lando
2019-07-03 19:49:05 +00:00
Dzmitry Malyshau a29869406b Bug 1546818 - WR text local transform fix r=gw
Change the glyph transform computation to be relative to the surface node.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 18:59:42 +00:00
Daniel Holbert b459034009 Bug 1562312: Implement 'contain:size' for <select multiple> elements. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D36418

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004.html
extra : moz-landing-system : lando
2019-07-02 18:40:17 +00:00
Mihai Alexandru Michis 761fb3a596 Backed out changeset c68a6b2e0157 (bug 1557371) for causing failures in reftest/content/bugs/272646-1.xul CLOSED TREE 2019-07-02 06:01:31 +03:00
Brendan Dahl c5fbaae97e Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron
This will have two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

One test (404149-1.xul) is now disabled, since it fails when loaded as
chrome. Bug 1557383 was filed to address this.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 00:04:12 +00:00
Daniel Holbert 2bfc73da09 Bug 1476127: Implement 'contain:size' for select elements. r=TYLin
Note that this is an imperfect implementation, in that it doesn't exactly
match the sizing behavior of a truly empty `<select>` element.  I've filed
followup bug 1562057 on that.  However, the behavior that's implemented
here *does* successfully make us ignore a `<select>`'s contents for sizing
purposes, and it's much better than what we do currently (which is pretty
broken via inheriting a partial `contain:size` implementation from our
parent class, nsBlockFrame).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:32:13 +00:00
Geoff Brown 945ee0068f Bug 1556058 - Update test expectations for Android 7.0 reftests; r=kats
These changes are needed for consistently green runs with the new emulator with
"-gpu on".
Most changes are simple removal of fuzzy-if(geckoview) but I also needed to add
at least one new fuzzy-if.
In this configuration we can run reftests in just 2 chunks (20 minutes each on
opt/30 minutes on debug).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:30:48 +00:00
Jan Henning 689a29b361 Bug 1552781 - Part 3: Make flex/grid items font inflation flow roots, too. r=dbaron
The arguments for the respective container elements apply to their immediate
child items, too: They establish a new formatting context as well and presumably
represent page content that can be considered to be logically separate enough to
warrant individual consideration for font inflation.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:12:07 +00:00
Jan Henning d507b88036 Bug 1552781 - Part 2: Flexboxes/grids should be font inflation flow roots. r=dbaron
Our algorithm for dividing a page up into separate font inflation flow roots
seems mostly based on the idea that a new Block Formatting Context (BFC) should
go hand in hand with a font inflation flow root.
Flex containers so far didn't follow that rule, since they technically create a
new *Flex* Formatting Context (FFC) and possibly also because nobody thought
about font inflation when implementing nsFlexContainerFrame.

This leads to all flex containers being counted against the next higher-level
flow root, meaning that a lot of small flex containers can get inflated if their
sum total of text *collectively* exceeds the font inflation threshold.
This alone is likely undesired most of the time, but is then also aggravated by
the fact that our flexbox behaviour under font inflation is somewhat buggy (bug
1142461).

As apart from the different layout rules inside the container, a FFC behaves
very much like a BFC in that it establishes a new formatting context, flex
containers should therefore correspondingly become font inflation flow roots,
too, and therefore be considered individually for font inflation.

As far as I can tell, with this change we'll also match Blink's behaviour in
that regard.

For completeness's sake, we'll make grid containers follow the same principles,
even though hopefully grids on non mobile-friendly pages should hopefully be
somewhat rarer than flexboxes.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:11:20 +00:00
Jan Henning b0ada58aa8 Bug 1552781 - Part 1: Add reftests for flexbox/grid font inflation scope. r=dbaron
In this case, the desired end state is *no* inflation, so we don't need separate
ref-versions of the test pages - the only difference is in the prefs being used.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:11:14 +00:00
Jan Henning edd23be2b9 Bug 1552781 - Part 0: Clarify comment in reftest manifest. r=dbaron
There is a natural tendency to add new tests at the bottom of the manifest, so
the comment about the lineThreshold pref wasn't entirely accurate anymore.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:11:08 +00:00
Daniel Holbert b43696ca71 Bug 1561717 part 2: Add "elem" suffix to reftests "contain-size-select-*", to avoid name collisions with other WPT tests, and add spec link. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D36222

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002.html
extra : moz-landing-system : lando
2019-06-27 18:10:46 +00:00
Emilio Cobos Álvarez ca7c3716eb Bug 1552578 - Restrict properties that apply to ::marker for now. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D31680
2019-06-27 13:27:40 +02:00
Coroiu Cristina f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
Gurzau Raul f5eb98192b Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-27 01:04:55 +03:00
L. David Baron 0c725e58b7 Bug 1561351 - Fix prematurely closed head elements. r=dholbert
Depends on D35958

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:34:14 +00:00
Luke Zielinski b501455d0e Bug 1561351 - Import from WPT: Load Ahem as a webfont everywhere (part 2) (#17173) r=dholbert
This change updates a large number of reftests to link to the
`/fonts/ahem.css` stylesheet. Each file contains a single additional
line before the first `<style>` element:
```
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
```

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:35:58 +00:00
Joel Maher 6aaddcd2f1 Bug 1559851 - fix reftest manifest ordering for random-if to work. r=gbrown
reftest manifests have ordering issues, re-organizing the fuzzy-if/random-if clauses to allow random-if to work.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 14:42:22 +00:00
Hiroyuki Ikezoe ae4a1bc2c7 Bug 1560704 - Revert the change `transform-style: inherit` added to ::-moz-table-wrapper in ua.css. r=birtles
It caused rendering issues just like a reftest in this commit.  We don't know
the reason but fixing it will be some amount of work which couldn't be uplifted
to 68.  So we just revert the change here now.  Probably we should revisit the
problem once we got a bug report that the lack of the `transform-style: inherit`
causes rendering issues.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 10:29:37 +00:00
Mihai Alexandru Michis c97c5547e7 Backed out changeset 7423f5bc275c (bug 1552578) for causing failures in test_marker_restrictions.html. CLOSED TREE 2019-06-27 05:52:48 +03:00
Emilio Cobos Álvarez 5fa55a81bc Bug 1552578 - Restrict properties that apply to ::marker for now. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D31680

--HG--
extra : moz-landing-system : lando
2019-06-27 00:53:45 +00:00
Hiroyuki Ikezoe b14c7c928c Bug 1560237 - Don't propagate scroll-behavior from <body>. r=botond
From the CSSOM View spec[1];

 The scroll-behavior property of the HTML body element is not propagated to
 the viewport.

The reason why this change fixes the test case in this commit is that we don't
have two different scrollable frames for <html> and <body> respectively if we
don't propagate scroll-behavior property from <body> to <html> so that we can
properly find the `flow root` of sticky position elements.

In other words, in the case where both of <html> and <body> have properties
that are propagated from <body> but they are different we have two scrollable
frames as a candidate of the 'flow root' for the sticky position element in
the test case, one is the scrollable frame for <html> and the other is the
scrollable frame for <body>.  That means that
nsLayoutUtils::GetNearestScrollableFrame doesn't return what we want in some
places, for example we have a pretty similar issue in case of
overscroll-behavior which is bug 1561107.

Note that the test position-sticky-root-scroller-with-scroll-behavior.html is
almost copy-and-pasted from
/css/css-position/position-sticky-root-scroller.html [2] in wpt, the reason why
we put the test in /css/cssom-view is that there is a handy function to wait
for async scroll completion.

[1] https://drafts.csswg.org/cssom-view/#propdef-scroll-behavior
[2] https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/testing/web-platform/tests/css/css-position/position-sticky-root-scroller.html

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:57:05 +00:00
Jeff Muizelaar 164066e445 Bug 1561689. svg: Add reftest for clipped items at negative coordinates. r=mstange
'<image>' elements will look at the current clip when painting. Puting one
of them at negative coordinates exposes potential bugs in the blob recoord work.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:51:22 +00:00
Morgan Rae Reschenberg e7e326076b Bug 1561717: Add reftests for 'contain:size' on select elements. r=dholbert 2019-06-26 13:17:47 -07:00
Joel Maher 20fa98eddb Bug 1559851 - mark w3c-css/submitted/variables/variable-external-font-face-01.html as random-if on win7/debug. r=gsvelto
mark w3c-css/submitted/variables/variable-external-font-face-01.html as random-if on win7/debug

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

--HG--
extra : moz-landing-system : lando
2019-06-25 01:25:28 +00:00
Matt Woodrow 8f12c70442 Bug 1558937 - Don't allow duplicate items for printing. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34775

--HG--
extra : moz-landing-system : lando
2019-06-24 08:00:41 +00:00
Brindusan Cristian 928742d3ea Backed out changeset c872cc627115 (bug 1558937) for reftest failures at 1558937-1.html. 2019-06-24 06:09:11 +03:00