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

63334 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan d9cb92544e Bug 1447828 part 2 - Remove StyleBackendType uses from nsXULPrototypeCache. r=emilio
MozReview-Commit-ID: 1tYFBTk9BqF

--HG--
extra : rebase_source : 72c783c84ff36fddd6d49e79e7912f42bb0c11a8
extra : source : 4972e279ef76127e4898874478fcbd75c9631d76
2018-03-29 02:31:23 +11:00
Xidorn Quan 0401ef821e Bug 1447828 part 1 - Remove StyleBackendType uses from dom/animation. r=emilio
MozReview-Commit-ID: 3INWUuocNPm

--HG--
extra : rebase_source : 1e024084e325b075b3c1b534b544092d7f792e2e
extra : source : 1bcf22436ced3f5b2afd6a7db4250ff5b79f71c0
2018-03-29 02:29:42 +11:00
Jonathan Watt 4570211dcc Bug 1449565 - Remove the aGeckoParentRule parameter from css::Loader's InsertChildSheet and LoadChildSheet. r=emilio
--HG--
extra : source : c31de7e26809522daca72a6050cd3ab665e8f6ff
2018-03-23 17:02:35 +00:00
Jonathan Watt 6af9cd851b Bug 1449566 - Remove GenericSpecifiedValues::ShouldIgnoreColors. r=emilio
--HG--
extra : source : 72f9188800afb4dec5b69d0a9066bb0453c61fbc
2018-03-23 16:40:12 +00:00
Jonathan Watt 68e78b291f Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
--HG--
extra : source : 763277b299e42d8ee7eafede027ee690b66a7a2a
2018-03-23 16:01:34 +00:00
Kartikaya Gupta 34910378ab Bug 1447998 - Update reftest annotations for changes in WR PR 2556. r=jrmuizel
MozReview-Commit-ID: 4BHnmuvNsjg

--HG--
extra : rebase_source : b6d14a97e63e3c94cd790f969b6a001b9beec339
2018-03-28 09:13:27 -04:00
Kartikaya Gupta 373c7f9cd5 Bug 1449478 - Actually prevent creating new scroll data for simple transform items. r=jrmuizel
MozReview-Commit-ID: ClRVNR1ILSg

--HG--
extra : rebase_source : 25867ea31574335f89d21093149e54f7e957e78f
2018-03-28 06:32:06 -04:00
Cosmin Sabou 6e054fe297 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-28 12:52:57 +03:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Emilio Cobos Álvarez 0c83a344be Bug 1443950: Go back to using getComposedDoc for the computed style by default. r=bz
Now that NODE_FORCE_XBL_BINDINGS is gone, the only reason OwnerDoc() was added
in bug 1432490 is also gone.

Let's go back to using the composed doc, at least until the CSSWG decides on
what's the computed style of something that's not in[1].

[1]: https://github.com/w3c/csswg-drafts/issues/1548

MozReview-Commit-ID: EV1c46kkUva

--HG--
extra : rebase_source : 3cd036519b90b42cb920d8f854d530c8ced6ea9c
2018-03-28 03:25:47 +02:00
Xidorn Quan e1ecaae43e Bug 1449390 - Remove Rule::GetType() and its corresponding constants. r=emilio
MozReview-Commit-ID: 5r64ATHUAux

--HG--
extra : rebase_source : 9a593b6ed1a1006bfac031c3b47b06a7e28605b4
2018-03-28 14:22:01 +11:00
Xidorn Quan 65e2284ca0 Bug 1449103 part 3 - Merge ServoGroupRuleRules into GroupRule. r=emilio
MozReview-Commit-ID: 83rI7gydEUd

--HG--
extra : rebase_source : 79dcfe8f2fb3839130af1ed5833c6b8c57491e04
2018-03-28 12:25:36 +11:00
Xidorn Quan 637c9b2a86 Bug 1449103 part 2 - Make CSSKeyframesRule inherit from Rule directly. r=emilio
The spec doesn't say CSSKeyframesRule needs to inherit CSSGroupingRule.
It inherited GroupRule because Gecko's keyframes rule implementation
relies on that to manage its children.

MozReview-Commit-ID: CnVP2tozwQU

--HG--
extra : rebase_source : 63c61d7b7d003ff82bd73e183516f6076a2dafb6
2018-03-28 12:23:58 +11:00
Xidorn Quan 70a598f41e Bug 1449103 part 1 - Make Rule::mParentRule not necessarily a GroupRule. r=emilio
For part 2, where CSSKeyframesRule will inherit directly from Rule while
it is parent rule for its CSSKeyframeRules.

It seems there is nothing relying on mParentRule being a GroupRule so we
can just change it.

MozReview-Commit-ID: Cyte6h3Q2LB

--HG--
extra : rebase_source : 01ac2ab201a1438aa73eadc5cce0ea67e164ecce
2018-03-28 12:20:41 +11:00
Xidorn Quan 0cd2404617 Bug 1449089 part 5 - Remove nsCSSPseudoClasses.{h,cpp} and nsCSSPseudoClassList.h. r=emilio
MozReview-Commit-ID: 7KYFiQ5vUxg

--HG--
extra : rebase_source : 9f3a61b3cb240d2fdf23ccc056762c169eaf42e2
2018-03-28 09:41:04 +11:00
Xidorn Quan 2c1d56ad39 Bug 1449089 part 4 - Move logic of nsCSSPseudoClasses::LangPseudoMatches into Gecko_MatchLang. r=emilio
MozReview-Commit-ID: 6c6TooaU6dQ

--HG--
extra : rebase_source : c5254c1631763661fdb627bcf8292d3299177dc2
2018-03-28 09:41:04 +11:00
Xidorn Quan 2d757b0424 Bug 1449089 part 3 - Remove pref layout.css.scope-pseudo.enabled. r=emilio
It was never effective in Stylo anyway.

MozReview-Commit-ID: EF7NnS6uxOO

--HG--
extra : rebase_source : 8d924fad9958cf12c746156241c51c3a6488020f
2018-03-28 09:41:04 +11:00
Xidorn Quan 395e66570e Bug 1449089 part 2 - Move matching logic of :-moz-table-border-nonzero and :-moz-browser-frame into individual binding functions. r=emilio
MozReview-Commit-ID: Ic3EjtwSve0

--HG--
extra : rebase_source : 6365e8a9f727842b7c4cc3547a102d6300600e38
2018-03-28 09:41:04 +11:00
Xidorn Quan 5e4279ed26 Bug 1449089 part 1 - Make :-moz-native-anonymous and :-moz-use-shadow-tree-root matches in Rust code. r=emilio
:-moz-native-anonymous can just use is_in_native_anonymous_subtree()
which is an existing function duplicating IsInNativeAnonymousSubtree().

IsRootOfUseElementShadowTree() in C++ code only has a single reference
from nsCSSPseudoClasses::MatchesElement() so we can just move it to the
Rust side. And actually Rust code has existing duplicate logic for
blocks_ancestor_combinators().

MozReview-Commit-ID: 8M1hHrYJT6Y

--HG--
extra : rebase_source : bf53ac7d8b15b0d1f7447a6056986d89b1cb4e57
2018-03-28 09:41:04 +11:00
Xidorn Quan 8543cb7090 Bug 1449097 - Use Servo to implement GetStatesForPseudoClass function in InspectorUtils. r=emilio
MozReview-Commit-ID: 2tL5otfqCiw

--HG--
extra : rebase_source : fe9ddd2a840efb33f5c0d7f53c7c755a0929a8f9
2018-03-28 09:41:04 +11:00
Margareta Eliza Balazs adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Xidorn Quan 1455d40f7d Bug 1448728 followup 2 - Remove style structs from nsPresArena::AddSizeOfExcludingThis on a CLOSED TREE. r=emilio
--HG--
extra : amend_source : 9dd6fded1258e4586d6e6fd8a03f669ebed4b0b5
2018-03-28 11:17:19 +11:00
Xidorn Quan 8324509a8c Bug 1448728 followup - Move ServoComputedValuesMallocEnclosingSizeOf to ComputedStyle.cpp. 2018-03-28 10:57:35 +11:00
Xidorn Quan afea770358 Bug 1448728 part 3 - Remove mention of servo in memory report as it's the only style system now. r=njn
MozReview-Commit-ID: CJl0LboV1Gj

--HG--
extra : source : e468e93bc9cf4171197f79fa7db6b5ac6bfc07ea
2018-03-28 10:44:49 +11:00
Xidorn Quan 1962625a79 Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
MozReview-Commit-ID: EC5J9Im3gfu

--HG--
extra : source : 9fa9209aeeb00009143c5c21f21210c93184e61f
2018-03-28 10:44:49 +11:00
Xidorn Quan cae93b8fe4 Bug 1448728 part 0 - Remove objects only used in the old style system from nsPresArena::AddSizeOfExcludingThis. r=emilio
This patch was part of Bug 1448535 part 5 and reviewed there. It is
split out because bug 1448728 doesn't need to be blocked by other parts
of bug 1448535.

MozReview-Commit-ID: C74w6FWAxMB

--HG--
extra : source : 1a537bb710a0ab31afdad0ef6e95fee518800737
extra : amend_source : 1dbcd7b3cfb4ccb4732b4a2ba7842436ac4b215d
2018-03-28 10:42:07 +11:00
Margareta Eliza Balazs ecdbb83fa1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-28 01:00:31 +03:00
Jeff Muizelaar d07c300116 Bug 1388842. Add blob invalidation. r=mstange
MozReview-Commit-ID: 5xwqlULUbZe
2018-03-27 17:31:04 -04:00
Kartikaya Gupta 3c7d5a8b07 Bug 1423370 - Create fewer WebRenderLayerScrollData items for transformed items. r=jrmuizel
Instead of creating a new layer scroll data for every single
nsDisplayTransform item, we only create a new layer scroll data for
nsDisplayTransform items with perspective. In addition, we save the
transform from the non-perspective nsDisplayTransform items on the
StackingContextHelper, and then apply it to layer scroll data items that
are created by display items nested inside those nsDisplayTransforms.

This effectively makes two changes to the structure of the layer scroll
data sent to APZ:
(1) we will drop layer scroll data items for transforms that APZ doesn't
care about (i.e. the non-perspective ones that don't wrap APZ-relevant
display items).
(2) we will collapse layer scroll data items that only had a transform
into its descendant layer scroll data items. This should be functionally
equivalent, since the transform is still in the right place relative to
everything else.

The net result is fewer layer scroll data items.

MozReview-Commit-ID: HV6QPfuUrje

--HG--
extra : rebase_source : ecfe1810f9889e7ce5096e1bc42cc30a92b43b4a
2018-03-27 12:02:28 -04:00
Botond Ballo c390635e19 Bug 1443092 - Avoid calling SVGAnimatedEnumeration::AnimVal() from nsSVGUtils::GetBBox(). r=jwatt
AnimVal() is a DOM getter, and it flushes animations, which we don't want
in GetBBox() which is called from display list building cide and
FrameLayerBuilder.
2018-03-09 17:26:24 -05:00
Andreea Pavel 10de3b2d5a Backed out changeset 38fd94fbfdaf (bug 1443912) for QR crastest failures at /xpcom/string/crashtests/1113005.html a=backout 2018-03-27 15:01:23 +03:00
Bogdan Tara 39d9b048b9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-27 12:16:26 +03:00
Bogdan Tara 302a55b534 Merge inbound to mozilla-central. a=merge 2018-03-27 12:12:57 +03:00
Boris Zbarsky df07d2d834 Bug 1447890 part 5. Remove nsISelection::RemoveAllRanges. r=mystor
MozReview-Commit-ID: EeMje9KW6An
2018-03-27 00:35:23 -04:00
Boris Zbarsky 24781001eb Bug 1447890 part 4. Remove nsISelection::GetRangeCount. r=mystor
MozReview-Commit-ID: FypNZE0oQiW
2018-03-27 00:35:22 -04:00
Boris Zbarsky 74e28b0d19 Bug 1447890 part 2. Remove nsISelection::RemoveRange. r=mystor
MozReview-Commit-ID: JXq5FYNNXPJ
2018-03-27 00:35:22 -04:00
Boris Zbarsky 54d1f87ff4 Bug 1447890 part 1. Remove nsISelection::AddRange. r=mystor
MozReview-Commit-ID: 1JNLZp7tbII
2018-03-27 00:35:22 -04:00
Boris Zbarsky a8a190f4e1 Bug 1447889 part 14. Remove mention of nsIDOMRange from layout/. r=mystor
MozReview-Commit-ID: JWJWGzY45ac
2018-03-27 00:35:22 -04:00
Boris Zbarsky 86c4629290 Bug 1447889 part 10. Remove nsIDOMRange::DeleteContents. r=mystor
MozReview-Commit-ID: IoXz0pS6zAa
2018-03-27 00:35:21 -04:00
Boris Zbarsky 3906df8d57 Bug 1447889 part 8. Remove nsIDOMRange::SelectNode/SelectNodeContents. r=mystor
MozReview-Commit-ID: 2hbF6pT31Xd
2018-03-27 00:35:21 -04:00
Boris Zbarsky 5abddeaf58 Bug 1447889 part 2. Remove the XPCOM goop for creating Selection. r=mystor
It's unused; we never create these things by contract or classid.

MozReview-Commit-ID: 3Jsyb6QHlJt
2018-03-27 00:35:20 -04:00
Boris Zbarsky 0245595d7e Bug 1447889 part 1. Change nsCopySupport to work with Selection a bit more. r=mystor
MozReview-Commit-ID: B8HePBcalWU
2018-03-27 00:35:20 -04:00
Jonathan Watt 82ebebe276 Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio 2018-03-23 13:49:21 +00:00
Coroiu Cristina f7507f7dd5 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Coroiu Cristina 7a82f42405 Merge inbound to mozilla-central a=merge 2018-03-27 00:39:57 +03:00
Jonathan Kew c0a406064e Bug 1448180 - Don't mask complex-script ranges from the cmap for downloadable fonts; assume the author knows what they're doing and use the font as provided. r=jrmuizel
--HG--
rename : layout/reftests/text/arabic-fallback-4-notref.html => layout/reftests/text/arabic-fallback-4-ref.html
2018-03-26 13:25:11 +01:00
Csoregi Natalia cebb847e37 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-26 12:23:07 +03:00
Matt Woodrow fc7164d93f Bug 1438990 - Add a bit more fuzz for Android. r=bustage 2018-03-26 21:15:29 +13:00
Henri Sivonen c387c722f6 Bug 1448590 - Avoid useless use of SIMD-accelerated Latin1 to UTF-16 conversion in layout. r=dbaron.
MozReview-Commit-ID: Inm13Jw2t31

--HG--
extra : rebase_source : a7a5f1b8a5e7973b3325b2de1fa534e533aff34d
2018-03-24 21:31:19 +02:00
Masayuki Nakano 0f92a44d6b Bug 1447924 - part 3: Rename nsTransactionStack to mozilla::TransactionStack r=m_kato
Then, all classes in editor/txmgr is now in mozilla namespace and all
headers which are included by other directory are now exposed.  So,
we can remote local includes from other directories now.

MozReview-Commit-ID: Kdb1c4Hp9Sy

--HG--
rename : editor/txmgr/nsTransactionStack.cpp => editor/txmgr/TransactionStack.cpp
rename : editor/txmgr/nsTransactionStack.h => editor/txmgr/TransactionStack.h
extra : rebase_source : 75035e9e618680af9188820595ab050b612a456f
2018-03-22 23:30:48 +09:00