Commit Graph

67261 Commits

Author SHA1 Message Date
Sylvestre Ledru
b61d90492b Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Depends on D17388

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

--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Ciure Andrei
763557eef3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 05:47:10 +02:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Matt Woodrow
d4ecd598da Bug 1520682 - Limit the amount of filter ops per stacking context in WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D17415

--HG--
extra : moz-landing-system : lando
2019-01-24 03:02:17 +00:00
Ting-Yu Lin
925c1edf69 Bug 1521982 - Adjust callers of nsIFrame::List() in nsBidiPresUtils to stop passing 0 as a const char* argument. r=dholbert
This patch is similar to Bug 1503420 Part 1.

nsIFrame::List()'s second argument should be a const char*, not an
integer. It'll crash if we pass 0 as const char*. Fix the bug by
omitting the argument because the default value of the argument is an
empty string.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 02:24:46 +00:00
Ciure Andrei
a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
Sebastian Hengst
a612973f64 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-23 18:51:14 +02:00
Andrew Osmond
b04c5a5091 Bug 1501195 - Fix snapping issues caused by translation only transforms. r=jrmuizel
In nsDisplayTransform::CreateWebRenderCommands we should be rounding the
translation from the reference frame if there is no other transformation
to better match non-WebRender which performs similar rounding in
ChooseScaleAndSetTransform.

Differential Revision: https://phabricator.services.mozilla.com/D14265
2019-01-23 12:15:41 -05:00
Sebastian Hengst
2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02: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
Ryan Hunt
3e87663a7f Bug 1518640 - Use the visual viewport for anchor node selection. r=botond
--HG--
extra : rebase_source : 0f7038a4bf6b7d2a7958177b883c7fbb4130d288
extra : intermediate-source : 97681055c88c7af478467d6c76e227d0cb916aad
extra : source : 27bbb318ecb4f44c315f87584bdeb1b239d80cef
2019-01-22 13:37:16 -06:00
longsonr
d37b7ed878 Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles
--HG--
rename : dom/smil/nsSMILTypes.h => dom/smil/SMILTypes.h
rename : dom/smil/nsSMILValue.cpp => dom/smil/SMILValue.cpp
rename : dom/smil/nsSMILValue.h => dom/smil/SMILValue.h
2019-01-23 13:48:08 +00:00
Mike Hommey
37f1147571 Bug 1521673 - Go through layout/tools/layout-debug even when tests are disabled. r=dmajor
It contains other things than tests.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 14:30:39 +00:00
Peter Van der Beken
61a0d908e5 Bug 1521853 - Remove Throws annotation from some infallible HTMLOptionsCollection/HTMLSelectElement properties. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D17265

--HG--
extra : moz-landing-system : lando
2019-01-22 19:03:07 +00:00
Akshay Kumar
aff7fc2c26 Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku
This change adopts Windows Win32 WebAuthN APIs from https://github.com/Microsoft/webauthn

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:10:44 +00:00
Geoff Brown
eed275df56 Bug 1424166 - Disable crashtest 1418177-1.html on android for frequent intermittent failures; r=me,a=test-only
--HG--
extra : rebase_source : c7de0a4fb9da0b8a8a9b1db4cb64cd3b35c8d7ed
2019-01-22 15:05:16 -07:00
Emilio Cobos Álvarez
97bafbef75 Bug 1521137 - Remove another font API outside of the pres context. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17005
2019-01-22 15:54:06 +01:00
Emilio Cobos Álvarez
8addc7a883 Bug 1521137 - The pres context's base min font size is dead code. r=heycam
Nobody uses it from js, and we only thread the value around in layout. Let's
kill all this code.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 07:15:02 +00:00
Cosmin Sabou
951d31e64d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
Hiroyuki Ikezoe
cfd37ea8ea Bug 1520455 - Don't use the minimum scale size on fullscreen state to avoid the layout viewport gets larger than the visual viewport. r=botond
This is a workaround. To properly fix the issue we need to fix both of bug
1516377 and bug 1508177.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 23:35:09 +00:00
Emilio Cobos Álvarez
a0eb07ee30 Bug 1505222 - Pass TransformStyle::Preserve3d to WebRender more often for perspective display items. r=mattwoodrow
See the comment.

Differential Revision: https://phabricator.services.mozilla.com/D16768
2019-01-22 00:58:52 +01:00
Miko Mynttinen
f534fe0743 Bug 1514653 - Use the reference frame of the first flattened effect when recycling the layer r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D17079

--HG--
extra : moz-landing-system : lando
2019-01-21 22:03:10 +00:00
Miko Mynttinen
7292107f24 Bug 1518069 - Do not use transform separators for nsDisplayWrapList containing just nsDisplayTransform r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D16841

--HG--
extra : moz-landing-system : lando
2019-01-21 21:50:11 +00:00
Razvan Maries
c941c393cb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-21 20:01:06 +02:00
Razvan Maries
299b5e79f7 Merge mozilla-inbound to mozilla-central a=merge 2019-01-21 19:50:56 +02:00
Ehsan Akhgari
4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Sylvestre Ledru
755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Botond Ballo
11b304b442 Bug 1521618 - Remove non-ASCII characters from comments in RetainedDisplayListBuilder.cpp (DONTBUILD for comment change). r=mattwoodrow.
Differential Revision: https://phabricator.services.mozilla.com/D17162

--HG--
extra : moz-landing-system : lando
2019-01-21 21:53:26 +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
Matt Woodrow
2cc9e9df9e Bug 1477366 - Handle color space conversion for drop shadow filters with WebRender. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17089

--HG--
extra : moz-landing-system : lando
2019-01-21 20:01:02 +00:00
Matt Woodrow
b6afde59b9 Bug 1477366 - Only support SVG filters with a single input with WebRender. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D17088

--HG--
extra : moz-landing-system : lando
2019-01-21 20:00:57 +00:00
Matt Woodrow
371c7f7819 Bug 1477366 - Always make SVG/CSS filters active within blobs when possible. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16146

--HG--
extra : moz-landing-system : lando
2019-01-21 20:05:20 +00:00
Jon Coppeard
a96229ddb3 Bug 1512749 - Convert JS::gcreason::Reason to enum class JS:GCReason r=jonco r=mccr8 2019-01-21 13:09:12 +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
Razvan Maries
e89eab8264 Merge mozilla-inbound to mozilla-central a=merge 2019-01-21 13:34:31 +02:00
Emilio Cobos Álvarez
45336846a9 Bug 1519918 - Make nsFontFaceLoader::mFontFaceSet a weak reference. r=heycam
And start tracking the loader ASAP to be on the safe side.

Both sides already take care of cleaning up pointers on destruction.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 11:10:26 +00:00
Emilio Cobos Álvarez
5ef86a8143 Bug 1519918 - Drop nsFontFaceLoader::mChannel more often. r=jfkthame
Doesn't look like the HTTP channel breaks the reference cycle at all, so do it
when we know we're done with it.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 10:39:07 +00:00
Cameron McCormack
f07ac4772d Bug 1519745 - Remove out of date comment in nsStyleSheetService::Init. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D16427

--HG--
extra : moz-landing-system : lando
2019-01-21 09:43:41 +00:00
Razvan Maries
147faebd3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-21 13:39:35 +02:00
Ryan Hunt
89cf3d0af8 Bug 1521278 - Allow ScrollAnchorContainer to detach anchor frame even if pref is disabled. r=dholbert
The important piece is just that we don't queue a selection for later. This code runs
for each scroll, so we'd be wasting a lot of effort to do that.

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

--HG--
extra : moz-landing-system : lando
2019-01-20 07:21:55 +00:00
Emilio Cobos Álvarez
c16bf47250 Bug 1521399 - Remove layout.css.overflow.moz-scrollbars.enabled. r=mats
We've been shipping it for a few releases already, see bug 1481125.

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

--HG--
extra : moz-landing-system : lando
2019-01-21 01:35:00 +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
Andrew Osmond
fde57ca333 Bug 1520158 - Avoid scene rebuilding for image frame updates if possible. r=jrmuizel
We already avoid scene rebuilding for animated image frame updates, but
we can easily apply this to still images. If the decoding is happening
slowly and in chunks for some reason (really large image, slow network),
then we may save some work.
2019-01-18 22:21:30 -05: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