Commit Graph

9774 Commits

Author SHA1 Message Date
Narcis Beleuzu
5555771b75 Backed out changeset 869fbaef1042 (bug 1524117) for wrench bustages on canvas.yaml. CLOSED TREE 2019-01-31 10:22:54 +02:00
Matt Woodrow
681aa6716a Bug 1494408 - Clip groups to the transform clip to avoid bounds changes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17983

--HG--
extra : moz-landing-system : lando
2019-01-31 07:17:45 +00:00
Matt Woodrow
61569917d1 Bug 1524117 - Skip mix-blend mode operators in WebRender if we're sure they won't have any effect. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D18157

--HG--
extra : moz-landing-system : lando
2019-01-31 06:59:07 +00:00
Hiroyuki Ikezoe
359dd0e426 Bug 1520077 - Use the minimum scale size even if no overflow:hidden is specified. r=botond
There are two mochitests need to be changed.  Both of contents have very large
element (5000px, 5000px), to avoid expanding the layout viewport to the large
size we restrict the minimum scale to 1.0 so that we can still check the layout
scroll range.

Also with this minimum scale size usage change, no-zoom-ref.html doesn't render
the horizontal scrollbar on _desktops_ for some reasons (presumably
reftest-async-zoom affects it, and possibly the reasons are the same as bug
1385145 or bug 1269739).  Instead of fixing the issue on desktops, I am going to
take a workaround to add explicit minimum-scale value here, it somehow renders
the scrollbar on desktops too.

Note that the reftest added in this commit fails without this fix.

Depends on D18041

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

--HG--
extra : moz-landing-system : lando
2019-01-31 03:21:22 +00:00
Hiroyuki Ikezoe
040874a75f Bug 1520077 - Set apz.allow_zooming true for reftests that need to be automatically scaled. r=botond
Those reftests assume that the content is automatically zoomed in/out but
unfortunately apz.allow_zooming has set to false on Android since bug 1180267.
With the preference value all of the reftests marked as 'fail' in bug 1504659
now succeed.

Though 1133905-{5,6}-v.html and 1133905-{5,6}-v-rtl.html still fail (they've
been failing before bug 1504659), they will be hopefully fixed in bug 1308702.

Depends on D18038

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

--HG--
extra : moz-landing-system : lando
2019-01-31 03:24:35 +00:00
Kartikaya Gupta
27fb6fa044 Bug 1523776 - Set a clipchain on sticky contents. r=kvark
The API to create a sticky spatial node doesn't allow us to set a clip
chain that will apply to all the contents of the sticky node. This means
that when the ClipManager sets up the clip state for the sticky node,
the clip chain for it is dropped. Everything still works currently
because the contents of the sticky node have their own clip chains whose
parent link will include the sticky node's clip chain. However, in the
next patch we're going to sever that parent link to fix other issues,
and so we will break this mechanism. This patch fixes it up by
explicitly applying the sticky node's clip chain to the stacking context
that contains all the sticky contents. This ensures all those items pick
up the clip chain.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:34 +00:00
Kartikaya Gupta
eaf27c9c98 Bug 1515310 - Eliminate antialiasing fuzz from reftests. r=emilio
The text in the <th> element was causing intermittent fuzz due to
antialiasing. This patch removes the text to eliminate the problem.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 17:18:02 +00:00
Emilio Cobos Álvarez
a2231bd95c Bug 1498639 - Give WR the id of the scroll frame perspective scrolls relative to, and compute the right transform based on that. r=kats,kvark
I think this is as clean as it can get.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 23:41:08 +00:00
Sebastian Hengst
725402f21f Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 02:05:49 +02:00
Razvan Maries
c88bd55f59 Merge mozilla-inbound to mozilla-central a=merge 2019-01-28 23:46:39 +02:00
Glenn Watson
11edbcda9f Bug 1523228 - Use down scaling more often to avoid blurs on very large blur radii. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17797

--HG--
extra : moz-landing-system : lando
2019-01-28 09:14:46 +00:00
Olli Pettay
87d82f5ab2 Bug 1523282 - mark restyle-inside-first-line.html random because of inconsistency (bug 1523134), r=emilio
--HG--
extra : rebase_source : fa8245d6d47f9615bed3317d4671c8534e03f582
2019-01-28 15:20:11 +02:00
Jeff Muizelaar
0c609e94c7 Bug 1522021. Propagate input size to CreateSimilarDrawTarget for filters. r=mstange
This lets us avoid drawing the complete input for ever tile when
drawing filters into a tile.

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

--HG--
extra : moz-landing-system : lando
2019-01-27 23:36:04 +00:00
Brindusan Cristian
4faab2f1b6 Merge inbound to mozilla-central. a=merge 2019-01-27 11:35:28 +02:00
Jonathan Kew
1191520084 Bug 1522857 - Reftest for trimming of space at line-break with large font size. r=jrmuizel 2019-01-26 15:48:38 +00:00
Glenn Watson
aaa0feb2a4 Bug 1522758 - Optimize drawing axis aligned clip rectangles into clip masks. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17606

--HG--
extra : moz-landing-system : lando
2019-01-26 21:11:53 +00:00
Timothy Guan-tin Chien
d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Sebastian Hengst
218e75fc6c Backed out changeset f57d14800cbb (bug 1496540) for wrench failures in border-with-rounded-clip.yaml and transforms/border-zoom.yaml 2019-01-25 17:59:00 +02:00
Jamie Nicol
9db5c55a63 Bug 1496540 - Handle overlapping border corners in webrender r=gw
When some of a border's corners have a border-radius, and that radius
is larger than the sum of the border width and element size, then it
results in the corners of the border overlapping. Webrender draws
borders by rasterizing each segment individually in to the cache, then
compositing them together. In this overlapping case, this has 2
problems:

a) we composite overlapping segments on top of eachother
b) corner segments are not correctly clipped to the curve of the
   overlapping adjacent corners

This patch allows corner segments to be clipped by their adjacent
corners. We provide the outer corner position and radii of the
adjacent corners to the border shader, which then applies those clips,
if required, along with the segment's own corner clip when rasterizing
the segment.

As the adjacent corners now affect the result of the cached segment,
they are added to the cache key.

We continue to rasterize the entire segment in to the cache as before,
but now modify the local rect and texel rect of the BrushSegment so
that it only composites the subportion of the corner segment which
does not overlap with the opposite edges of the border.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 14:22:26 +00:00
Glenn Watson
a792eb73a1 Bug 1522395 - Fix double inflation of text shadow bounds. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D17468

--HG--
extra : moz-landing-system : lando
2019-01-25 00:28:46 +00:00
Narcis Beleuzu
6a3107f84e Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 23:46:04 +02:00
Glenn Watson
acb7379c4c Bug 1522351 - Improve accuracy of subpixel box shadows. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17431

--HG--
extra : moz-landing-system : lando
2019-01-24 21:38:18 +00:00
Miko Mynttinen
ee415d487e Bug 1514653 - Add a reftest r=me
--HG--
extra : rebase_source : 557386df4b1c1f5723226f3e94448f99d7bd4e76
2019-01-24 17:09:12 +01:00
shindli
03887afb69 Backed out changeset 9a347a546d90 (bug 1522351) for wrench bustage in reftests/boxshadow/no-stretch.png CLOSED TREE 2019-01-24 22:30:24 +02:00
Glenn Watson
892eb7ec20 Bug 1522351 - Improve accuracy of subpixel box shadows. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17431

--HG--
extra : moz-landing-system : lando
2019-01-24 20:07:46 +00:00
Markus Stange
65854967cf Bug 1509425 - Undo an optimization that unexpectedly affected hit testing. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D16912

--HG--
extra : moz-landing-system : lando
2019-01-23 03:53:11 +00:00
Matt Woodrow
18b658e2e8 Bug 1477366 - Fuzz some tests for differences between WR and the fallback path. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17090

--HG--
extra : moz-landing-system : lando
2019-01-21 20:01:22 +00:00
Emilio Cobos Álvarez
a116ffc192 Bug 1521212 - Unset visibility of the reset button instead of setting it to visible. r=Gijs
CSS visibility doesn't work like `display`. `visibility: visible` elements in a
`visibility: hidden` subtree still get shown.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 12:58:41 +00:00
Cosmin Sabou
12149d8542 Merge mozilla-central to autoland. a=merge 2019-01-19 12:10:17 +02:00
Cosmin Sabou
7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Matt Woodrow
a79e573d49 Bug 1520652 - Clip SVG filters to the PrimitiveSubregion when using WebRender. r=mstange
This patch changes a few things:
* Restores clipping to the computed clip, but just for SVG filters.
* Computes the clip just from the primitive subregion, not the bounds of the filtered content.
* Unconditionally clips all SVG filters using the primitive subregion
* Allows clips to be combined, if they will be sharing a coordinate space
* Fixes coordinate space of the clip region.

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

--HG--
extra : moz-landing-system : lando
2019-01-19 06:35:16 +00:00
Matt Woodrow
b911cbf521 Bug 1520652 - Add test for clipped SVG filter within HTML content. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D16940

--HG--
extra : moz-landing-system : lando
2019-01-19 06:34:41 +00:00
Daniel Holbert
7b8111e317 Bug 1520946: Shrink some content in various w3c-submitted flexbox tests so that they won't trigger scrollbars in WPT harness. r=TYLin
All of these tests have an .ini file indicating a failure for at least one of
them right now, in the copy that lives in the WPT harness, because
 - they trigger a scrollbar in the WPT harness
...and:
 - the scrollbar is a slightly different size in the reference case vs.
   in one of the testcases, e.g. due to a tiny margin being honored (or not)
   on the final piece of content.

This patch shrinks the content a bit in these test files so that they all fit
in a 400x400 viewport and won't trigger a scrollbar. I expect this should make
them pass in the WPT harness when they make the roundtrip through our
synchronization process.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 19:36:30 +00:00
Andreea Pavel
bdea6eafb0 Backed out 2 changesets (bug 1520652) for build bustages on a CLOSED TREE
Backed out changeset b9ca6790fee1 (bug 1520652)
Backed out changeset ebdc9e3d72c4 (bug 1520652)
2019-01-19 05:36:54 +02:00
Matt Woodrow
20b4793c83 Bug 1520652 - Clip SVG filters to the PrimitiveSubregion when using WebRender. r=mstange
This patch changes a few things:
* Restores clipping to the computed clip, but just for SVG filters.
* Computes the clip just from the primitive subregion, not the bounds of the filtered content.
* Unconditionally clips all SVG filters using the primitive subregion
* Allows clips to be combined, if they will be sharing a coordinate space
* Fixes coordinate space of the clip region.

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

--HG--
extra : moz-landing-system : lando
2019-01-19 03:21:53 +00:00
Matt Woodrow
e4828d91cb Bug 1520652 - Add test for clipped SVG filter within HTML content. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D16940

--HG--
extra : moz-landing-system : lando
2019-01-19 03:21:13 +00:00
arthur.iakab
48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Jonathan Kew
6e926e57f0 Bug 1499124 - Increase font-loading timeouts for the font-display-1 reftest to allow for slow debug builds. r=emilio 2019-01-16 21:58:52 +00:00
Brad Werth
628e787dd1 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:58:27 +00:00
Cosmin Sabou
f621d8b160 Backed out 5 changesets (bug 1504659) for android reftest failures. CLOSED TREE
Backed out changeset 793e842be7f6 (bug 1504659)
Backed out changeset 229ed2090371 (bug 1504659)
Backed out changeset 0818e2b1f2c5 (bug 1504659)
Backed out changeset bd806b413342 (bug 1504659)
Backed out changeset 3e12097e2b60 (bug 1504659)
2019-01-16 21:23:39 +02:00
Brad Werth
5f076f7b17 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 17:14:33 +00:00
Emilio Cobos Álvarez
c89256299a Bug 957915 - Handle calc(%) on tables. r=mats
This patch makes us handle calc with percentages when we can convert to
percentages the same way we handle plain percentages in table layout.

We still treat length + percentage as auto (this matches Blink / WebKit as
well). There's one case we differ with Blink / WebKit, which is calc(% + 0px),
which they'd treat as auto instead of a percentage.

I think this is a bug on them (or at least worth some spec clarification). I
filed https://github.com/w3c/csswg-drafts/issues/3482 for that.

In practice what that'd means for us if the WG decides that Blink / WebKit is
right in that case is that we'd need to keep track of whether the calc()
specifies lengths, and return false from ConvertsToPercent if so.

In any case, nothing that would massively change this patch, and I think enough
of an edge case that is not worth blocking on the CSSWG decision here. Though I
could be convinced otherwise of course.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 19:39:23 +00:00
Bogdan Tara
e94442500f Merge inbound to mozilla-central. a=merge 2019-01-15 18:09:48 +02:00
Hiroyuki Ikezoe
496dff9a8b Bug 1423013 - Expand the layout viewport to the minimum scale size for overflow:hidden pages. r=botond,tnikkel
Depends on D15345

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

--HG--
extra : moz-landing-system : lando
2019-01-15 09:48:18 +00:00
Emilio Cobos Álvarez
58caeeaa0e Bug 1519073 - Add a reftest to avoid regressing this in webrender. r=kats,botond
Differential Revision: https://phabricator.services.mozilla.com/D16185

--HG--
extra : moz-landing-system : lando
2019-01-15 09:14:31 +00:00
Oana Pop Rus
e6a470fee9 Backed out 3 changesets (bug 1423013) for failing at reftests/transform/compound-1a.html on a CLOSED TREE
Backed out changeset 91624c065046 (bug 1423013)
Backed out changeset 050a2ef2393d (bug 1423013)
Backed out changeset db57901030e9 (bug 1423013)
2019-01-15 09:35:57 +02:00
Narcis Beleuzu
9d87d4782c Backed out 5 changesets (bug 1504659) for reftest failures on frame-reconstruction-scroll-clamping.html.
Backed out changeset 749c9dcbbd7f (bug 1504659)
Backed out changeset 783f7ccbd797 (bug 1504659)
Backed out changeset 231b16b0091e (bug 1504659)
Backed out changeset a88ccc9308e0 (bug 1504659)
Backed out changeset 738e1ee854eb (bug 1504659)
2019-01-15 07:34:58 +02:00
Hiroyuki Ikezoe
4faf5e4991 Bug 1423013 - Expand the layout viewport to the minimum scale size for overflow:hidden pages. r=botond,tnikkel
Depends on D15345

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

--HG--
extra : moz-landing-system : lando
2019-01-15 03:28:10 +00:00
Brad Werth
01cd7d5f12 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:09:06 +00:00
Bas Schouten
14ddde5ae1 Bug 1520877 - Part 4: Make nsDisplayBackgroundColor use FillRoundedRect and mark some tests fuzzier. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D16895

--HG--
extra : rebase_source : 344e67739a4f79e74f2e6afc7eed4234e8484475
2019-01-17 20:41:00 +01:00