Commit Graph

66520 Commits

Author SHA1 Message Date
Brian Grinstead
1baf74c1d9 Bug 1425874 - Implement marquee onbounce, onfinish, onstart with WebIDL r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D9970

--HG--
extra : moz-landing-system : lando
2018-11-08 14:46:45 +00:00
Brian Grinstead
35b0511c9a Bug 1425874 - Implement HTMLMarqueeElement r=bzbarsky
This adds a new class for the marquee tag, instead of overloading HTMLDivElement.
It removes some of the XBL that was used to expose properties to web content.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 05:29:11 +00:00
Boris Chiou
94b54b2b26 Bug 1504327 - Support keywords [x|y|z] on rotate. r=emilio
Update the parser and the serialization to support the keywords, [x|y|z].

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

--HG--
extra : moz-landing-system : lando
2018-11-13 18:37:14 +00:00
Bogdan Tara
fc8134a16a Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)

--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman
563ff5b11d Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl
Depends on D8493

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

--HG--
extra : moz-landing-system : lando
2018-11-13 17:36:47 +00:00
Noemi Erli
5cfe84b9ea Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-13 18:33:26 +02:00
Noemi Erli
6e9e399066 Merge inbound to mozilla-central. a=merge 2018-11-13 18:27:16 +02:00
Emilio Cobos Álvarez
5207710f6b Bug 1506580 - Remove useless pointer-chase + function call in nsPresContext::AppUnitsPerDevPixel. r=miko
We already keep a cached version of the up-to-date value in nsPresContext,
there's no need to go through nsDeviceContext at all.

I don't expect this to fix bug 1424968 entirely, but it should make it a bit
better.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 11:00:46 +00:00
Emilio Cobos Álvarez
8e1f58b955 Bug 1506592 - Make sure to only display the broken image icon if there's a request at all. r=bzbarsky
This is enough to fix the devtools regression and matches what other browsers
do in the no-attribute case.

Also, I think this change over all makes sense: it doesn't make any sense to
display the broken image icon if there's no request, and we already assume in
EnsureIntrinsicSizeAndRatio() that we don't paint the icon for those (and make
the intrinsic size 0x0).

We still show the border, which matches other UAs (note that devtools
effectively masks the border away with mask-image).

This technically also can change behavior of <object> and <input>, but I think
it's better to be consistent, since EnsureIntrinsicSizeAndRatio also doesn't
special-case <img> either.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:55:59 +00:00
Kartikaya Gupta
76cb4247d3 Bug 1466613 - Prevent creation of DynamicImage instances that are excessively large. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D11528

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:27 +00:00
Kartikaya Gupta
17eea57296 Bug 1466613 - Robustify DrawTargetRecording codepaths that create new drawtargets. r=mstange
Badly-behaved consumers of DrawTargetRecording can trigger recording of
draw calls that will fail to allocate required draw targets when the
recording is replayed. This patch tries to guard against this by
detecting these situations at record-time rather than crashing at
replay-time. When such a situation is detected, it will crash (for
content processes, to catch such scenarios) or gracefully fail (for
other processes).

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:39:02 +00:00
Hiroyuki Ikezoe
23793e3a21 Bug 1504929 - Start animations once after a MozReftestInvalidate event is received. r=sotaro
We need the same workaround for
https://bugzilla.mozilla.org/show_bug.cgi?id=1489327 .

And unfortunately we have to disable animate-backface-hidden.html on MacOSX opt
builds for WebRender because the test fails intermittently, we will enable it
in bug 1506758.

Depends on D11601

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:30 +00:00
Hiroyuki Ikezoe
e0aa8f4fcb Bug 1504929 - Break RestyleManager::GetAnimationGenerationForFrame into EffectSet::GetEffect and EffectSet::GetAnimationGeneration in AddAnimationsForProperty. r=birtles,sotaro
Since we use the EffectSet later in the same function.

Depends on D11599

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:23 +00:00
Hiroyuki Ikezoe
163ee505df Bug 1504929 - Avoid hashmap lookups in nsLayoutUtils::HasEffectiveAnimation and EffectCompositor::FindAnimationsForCompositor. r=birtles
Depends on D11427

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:44 +00:00
Hiroyuki Ikezoe
d3095c2c92 Bug 1504929 - Drop LayerAnimationInfo::sRecords. r=birtles
Depends on D11426

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:17:42 +00:00
Hiroyuki Ikezoe
c592937db4 Bug 1504929 - Further optimizations for RestyleManager::AddLayerChangesForAnimations.. r=birtles,sotaro
This change eliminates
 - nsLayoutUtils::LastContinuationOrIBSplitSibling calls for each CSS
   properties on WebRender
 - iterating over each display item for each compositor runnable CSS properties
 - a bunch of stuff in the case where the layer manager has not yet created,
   i.e. the compositor thread is not ready to receive animations

Depends on D11425

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:23:20 +00:00
Hiroyuki Ikezoe
dcccc1a459 Bug 1504929 - Introduce LayerAnimationInfo::sDisplayItemTypes and iterate it instead of LayerAnimationInfo::sRecords. r=birtles
Depends on D11425

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:22:24 +00:00
Hiroyuki Ikezoe
8ee7bcc4a7 Bug 1504929 - Stop iterating EffectSets and KeyframeEffect::mProperties for each CSS properties that can be animated on the compositor. r=birtles
This change gets all effective CSS properties on an nsIFrame just once.

Note that LayerAnimationInfo::GetCSSPropertiesFor intentionally returns
nsCSSPropertyIDSet instead of nsCSSPropertyID since when we support individual
transform properties for the compositor the mapping between display item types
and nsCSSProperty has to be 1:N. E.g. all scale/translate/rotate properties are
mapped to transform display item.

Depends on D11424

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

--HG--
extra : moz-landing-system : lando
2018-11-13 10:22:26 +00:00
Cosmin Sabou
007b66c1f5 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-13 06:23:01 +02:00
Boris Chiou
6e361a1a9a Bug 1505200 - Part 3: Parse any order of number and angle for Rotate. r=emilio
Rotate accepts rotate axis and angle in any order
(i.e. <number>{3} <angle> or <angle> <number>{3}), so we rewrite the
parser.

Depends on D11401

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

--HG--
extra : moz-landing-system : lando
2018-11-12 19:21:32 +00:00
Boris Chiou
89eee2303f Bug 1505200 - Part 2: Serialize Rotate by servo. r=emilio
So we can drop a lot of code.

Depends on D11247

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

--HG--
extra : moz-landing-system : lando
2018-11-12 19:21:22 +00:00
Miko Mynttinen
69825a35fa Bug 1503463 - Part 3: Move component alpha handling to SetupComponentAlpha(), and make it work with items inside flattened transforms. r=mattwoodrow
Depends on D11252

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

--HG--
extra : moz-landing-system : lando
2018-11-12 18:41:56 +00:00
Sylvestre Ledru
2b4847d320 Bug 1506538 - Remove +x permissions on C++ source files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D11609

--HG--
extra : moz-landing-system : lando
2018-11-13 15:32:08 +00:00
Miko Mynttinen
520e147b9c Bug 1503463 - Part 2: Remove obsolete layer flattening code r=mattwoodrow
Depends on D11251

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

--HG--
extra : moz-landing-system : lando
2018-11-08 18:53:41 +00:00
Miko Mynttinen
fa7b4ca2f6 Bug 1503463 - Part 1: Make TransformClipNode::TransformRect() methods const r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11251

--HG--
extra : moz-landing-system : lando
2018-11-08 18:52:08 +00:00
Miko Mynttinen
e2e8b3d221 Bug 1504233 - Clip hit test info items properly r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11038

--HG--
extra : moz-landing-system : lando
2018-11-12 01:36:59 +00:00
Andrea Marchesini
375ae1c863 Bug 1505212 - Partitioned localStorage for 3rd party tracker pages, r=ehsan, r=asuth
LocalStorage needs to be exposed in every context except for sandboxes and
NullPrincipals (data: URLs, for instance). But we need to keep data
separate in some scenarios: private-browsing and trackers.
In private-browsing, LocalStorage keeps data in memory, and it shares
StorageEvents just with other origins in the same private-browsing
environment.
For Trackers, we expose a partitioned LocalStorage, which doesn't share
data with other contexts, and it's just in memory. Partitioned localStorage
is available only for trackers listed in the
privacy.restrict3rdpartystorage.partitionedHosts pref. See
nsContentUtils::IsURIInPrefList to know the syntax for the pref value.
2018-11-13 09:51:14 +01:00
Cosmin Sabou
00f29cfcf6 Merge mozilla-central to mozilla-inbound. 2018-11-10 13:51:14 +02:00
Razvan Maries
f502ea6ce1 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-10 02:24:04 +02:00
Ting-Yu Lin
5a22a68c3c Bug 1497990 Part 2 - Do not carry block-end margin out of ColumnSetFrame. r=dbaron
Also, remove the unused NS_BLOCK_MARGIN_ROOT flag set on nsColumnSetFrame.

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

--HG--
extra : moz-landing-system : lando
2018-11-09 21:02:12 +00:00
Ting-Yu Lin
fe4ef80141 Bug 1497990 Part 1 - Use mIsBalancing instead of comparison between mBalanceColCount with INT32_MAX. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D8782

--HG--
extra : moz-landing-system : lando
2018-11-09 21:02:02 +00:00
Lee Salzman
81c20a9e90 Bug 1506129 - Fuzz for fixed WebRender DWrote text render mode. r=kats
Depends on D11509

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

--HG--
extra : moz-landing-system : lando
2018-11-09 18:55:58 +00:00
Kartikaya Gupta
f1f647e1fd Bug 1505424 - Increase fuzz due to nondeterminism. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11481

--HG--
extra : moz-landing-system : lando
2018-11-09 16:37:43 +00:00
Boris Chiou
a2c42ba3de Bug 1505156 - Percentage values of translate are serialized as percent for computed values. r=emilio
Basically, we rewrite the type of generics::transform::Translate and its
ToCss to match the spec. Besides, we always serialize Translate by servo,
so we could drop a lot of duplicated code.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 22:41:00 +00:00
Botond Ballo
7650f7f73b Bug 1494440 - Include overscroll-behavior in the styles propagated to the viewport. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D11267

--HG--
extra : moz-landing-system : lando
2018-11-08 22:24:58 +00:00
Sylvestre Ledru
f406d8ccaf Bug 1505949 - layout/style/{BorrowedTypeList.h,ServoArcTypeList.h,ServoBoxedTypeList.h} content should remain on a single line r=heycam
Make sure that clang-format doesn't touch it

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

--HG--
extra : moz-landing-system : lando
2018-11-09 13:31:39 +00:00
Emilio Cobos Álvarez
cbc11eb6a3 Bug 1492958 - Allow user-select: -moz-text on user-agent stylesheets only. r=mats
It's only used in contenteditable.css, and same usage in comm-central. That
sheet is loaded as a ua sheet so let's restrict it to that. No relevant
external usage either. This value was introduced in bug 1181130.

Differential Revision: https://phabricator.services.mozilla.com/D11584
2018-11-12 13:47:44 +01:00
Emilio Cobos Álvarez
e7cb518669 Bug 1492958 - Remove user-select: -moz-all. r=mats
It's an attempt of an alias to `all`, except it doesn't get handled in all
places.

Seems unused both in comm-central and mozilla-central, and all external usage I
could find is followed by -webkit-user-select: all.

Differential Revision: https://phabricator.services.mozilla.com/D11582
2018-11-12 13:47:41 +01:00
Emilio Cobos Álvarez
318ef24ef6 Bug 1492958 - Remove unimplemented values of the user-select property. r=mats
Can't believe we literally had no code to handle them.

Differential Revision: https://phabricator.services.mozilla.com/D11581
2018-11-12 13:47:40 +01:00
Emilio Cobos Álvarez
33b3044c08 Bug 1492958 - Move user-select outside of mako. r=xidorn
This is the first step to unprefix user-select.

This has no behavior change, it's just a nicer way to do the same thing which
allows us to unship individual values more easily using parse(condition).

Differential Revision: https://phabricator.services.mozilla.com/D11580
2018-11-12 13:46:52 +01:00
Margareta Eliza Balazs
cccd9d1083 Backed out 5 changesets (bug 1492958) for bc failures in browser/base/content/test/static/browser_parsable_css.js CLOSED TREE
Backed out changeset d7c8793ee054 (bug 1492958)
Backed out changeset e59edfbbd327 (bug 1492958)
Backed out changeset 5e643bc2e17b (bug 1492958)
Backed out changeset 59cf251c1a59 (bug 1492958)
Backed out changeset edc955448df6 (bug 1492958)
2018-11-12 14:36:43 +02:00
Emilio Cobos Álvarez
3825f8f77b Bug 1492958 - Allow user-select: -moz-text on user-agent stylesheets only. r=mats
It's only used in contenteditable.css, and same usage in comm-central. That
sheet is loaded as a ua sheet so let's restrict it to that. No relevant
external usage either. This value was introduced in bug 1181130.

Differential Revision: https://phabricator.services.mozilla.com/D11584
2018-11-12 11:51:51 +01:00
Emilio Cobos Álvarez
740de114a9 Bug 1492958 - Remove user-select: -moz-all. r=mats
It's an attempt of an alias to `all`, except it doesn't get handled in all
places.

Seems unused both in comm-central and mozilla-central, and all external usage I
could find is followed by -webkit-user-select: all.

Differential Revision: https://phabricator.services.mozilla.com/D11582
2018-11-12 11:51:50 +01:00
Emilio Cobos Álvarez
e0b5a6ba3e Bug 1492958 - Remove unimplemented values of the user-select property. r=mats
Can't believe we literally had no code to handle them.

Differential Revision: https://phabricator.services.mozilla.com/D11581
2018-11-12 11:51:48 +01:00
Emilio Cobos Álvarez
47eb45a0b5 Bug 1492958 - Move user-select outside of mako. r=xidorn
This is the first step to unprefix user-select.

This has no behavior change, it's just a nicer way to do the same thing which
allows us to unship individual values more easily using parse(condition).

Differential Revision: https://phabricator.services.mozilla.com/D11580
2018-11-12 11:51:46 +01:00
Dorel Luca
17253c6f93 Merge mozilla-central to mozilla-inbound 2018-11-09 19:41:24 +02:00
Emilio Cobos Álvarez
ea43a5393a Bug 1196668 - Make images without alt generate a replaced box regardless of src. r=bz
Behavior-wise this only removes the HasAttr(src) check, and adds the IsEmpty()
check to the alt attribute value, since this function is only called for <img>
and <input>.

But it also cleans up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D11194
2018-11-09 18:10:14 +01:00
Neil Deakin
6e655bec59 Bug 1504745, update the follow state before SetCaptureState as the nsMenuChainItem now stored in mPopups could be destroyed, r=tn 2018-11-09 11:23:59 -05:00
Gurzau Raul
ff7bbb9936 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : dom/media/ipc/RemoteVideoDecoder.cpp => dom/media/ipc/GpuDecoderModule.cpp
rename : dom/media/ipc/RemoteVideoDecoder.h => dom/media/ipc/GpuDecoderModule.h
extra : rebase_source : 0503e2d45fffafb1e8dd1ddcd2115af2778a5c66
2018-11-09 07:46:56 +02:00
Gurzau Raul
139c9b897f Backed out 2 changesets (bug 1196668) for assertion count failures at child-constraints/available-size-for-percentages-vrl-htb.https.html
Backed out changeset ff03b0b8ed81 (bug 1196668)
Backed out changeset 8e423aa1c94e (bug 1196668)
2018-11-09 06:33:16 +02:00