Commit Graph

9805 Commits

Author SHA1 Message Date
Matt Woodrow
1976fff2f3 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-02-07 20:42:28 +00:00
Razvan Maries
e5944cdd0e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02:00
Hiroyuki Ikezoe
9fe047bfb3 Bug 1516377 - Use the layout viewport for position:fixed elements if the viewport is larger than. r=botond
Both of reftests in this commit are based on an exmaple [1] in the Viewports
Explainer written by David Bokan.

position-fixed-out-of-view.html fails without the fix because the position:fixed
element is rendered at the right edge of the visual viewport so that it's
visible in the first place.

position-fixed-on-minimum-scale-size.html does NOT fail without the fix either
because the position:fixed element sticks at the right edge of the visual
viewport so that it still be there even after the visual viewport offset has
been changed.

[1] https://github.com/bokand/bokand.github.io/blob/master/web_viewports_explainer.md#chrome-2

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

--HG--
extra : moz-landing-system : lando
2019-02-07 05:39:33 +00:00
Jonathan Kew
06b936f643 Bug 1507661 - Don't treat an explicit hyphen as though it could be a soft-hyphenation position. r=jwatt 2019-02-07 12:13:19 +00:00
Jonathan Kew
ab92b80b55 Bug 1507661 - Reftest for spurious soft-hyphenation occuring at an explicit hyphen after initial letter of word. r=jwatt 2019-02-07 12:13:19 +00:00
Glenn Watson
43dfba16ac Bug 1524385 - Set the current clip chain on the stacking context item. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18527

--HG--
extra : moz-landing-system : lando
2019-02-06 04:35:37 +00:00
Bobby Holley
d1796847d4 Bug 1524086 - Mark reftest as fuzzy-if rather than fails-if. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18582

--HG--
extra : moz-landing-system : lando
2019-02-06 05:32:35 +00:00
Daniel Holbert
cde912690c Bug 1522898: Account for box-sizing (add border & padding) when setting a main-size property value override on a flex item (which it uses for aspect ratio calculations). r=mats
For elements that have box-sizing:border-box specified, the aspect ratio
calculation code subtracts out border & padding from any specified property
values.

So, when we create a fake "override" specified property value for a flex item
whose main size has been resolved, we need to add in the border and padding to
account for the fact that they're going to be subtracted out later.

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

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001v.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007v.html
extra : moz-landing-system : lando
2019-02-04 23:06:16 +00:00
Olli Pettay
2b3aa5d961 Bug 1524031, frame-scrolling-attr-1.html fails randomly - allow some fuzzyness, r=emilio 2019-02-04 17:24:29 +02:00
Kartikaya Gupta
5778faf7aa Bug 1520715 - Allow a bit of fuzz on color-layer-1a. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D18487

--HG--
extra : moz-landing-system : lando
2019-02-02 15:56:54 +00:00
Kartikaya Gupta
ff2548e7d2 Bug 1520793 - Allow a bit of fuzz in clip-path-circle-021. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D18486

--HG--
extra : moz-landing-system : lando
2019-02-02 15:56:45 +00:00
Jeff Muizelaar
8b79b7ce3e Bug 1524177. Accept a small amount of fuzz for clip-path-inset. r=dholbert
It seems like we intermittently get fuzz on the clip-path-inset tests.
It's better for us to accept that fuzz than intermittently fail.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 23:40:13 +00:00
Glenn Watson
803eadae41 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-02-01 23:24:53 +00:00
Kartikaya Gupta
b7b2ce33e3 Bug 1524437 - Replace text with div to avoid antialiasing effects. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D18300

--HG--
extra : moz-landing-system : lando
2019-02-01 18:45:48 +00:00
Kartikaya Gupta
0deb9fd9cb No bug - Adjust fuzziness for reftest on mac which showed up after merging autoland and inbound. r=me on a CLOSED TREE 2019-02-01 10:07:53 -05:00
Oana Pop Rus
fa24444292 Merge autoland to mozilla-central. a=merge 2019-02-01 11:32:06 +02:00
Noemi Erli
b74da84051 Backed out changeset e6f1ffb7119f (bug 1523882) per dev's request for causing major perf regression a=backout 2019-02-01 08:56:22 +02:00
Ting-Yu Lin
97005f50c2 Bug 1520722 Part 2 - When removing bidi continuations, go no further than the block which needs resolution. r=dbaron
When doing bidi resolution for column-content blocks, we may still
traverse the parent chain up in RemoveBidiContinuation, reach
nsColumnSetFrame, and accidentally convert nsColumnSetFrame's
continuation into fluid ones.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 06:14:27 +00:00
shindli
d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
Glenn Watson
e23265ad97 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 20:18:18 +00:00
shindli
4db94822bd Backed out changeset 86daa5d406b6 (bug 1523882) for wrench bustage in reftests/boxshadow/box-shadow-huge-radius.png CLOSED TREE 2019-01-31 22:02:27 +02:00
Glenn Watson
165f400dbd Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 19:39:02 +00:00
Jamie Nicol
74e9823383 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-31 18:31:47 +00:00
Oana Pop Rus
707db23fae Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-31 12:00:53 +02:00
Narcis Beleuzu
8707bfb5f2 Backed out changeset 25ca68e7836e (bug 1523882) for wrench bustages on boxshadow-spread-only-ref.png. CLOSED TREE 2019-01-31 11:49:12 +02:00
Oana Pop Rus
6e3cc15356 Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/passwordmgr/test/test_xml_load.html => toolkit/components/passwordmgr/test/mochitest/test_xml_load.html
2019-01-31 11:37:38 +02:00
Glenn Watson
8844b8b1c8 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-01-31 09:02:41 +00:00
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
2030952357 Back out two changesets from bug 1523776 for causing multiple regressions. r=backout 2019-01-31 14:44:33 -05: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
Daniel Varga
325e31df1d Merge mozilla-central to mozilla-inbound. a=merge 2019-01-31 06:30:06 +02: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