Commit Graph

9227 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
2b220f490f Bug 1285407 - Part 3: Remove UpdateCascadeResults call because it's called against the same nsStyleContext from MaybeUpdateAnimationRule. r=birtles
MozReview-Commit-ID: FrrFLq9S2f4

--HG--
extra : rebase_source : 20d9329b0b801fa78cf8889f404a6cc0ac011a69
2016-07-11 17:28:17 +09:00
Hiroyuki Ikezoe
495f6aae06 Bug 1285407 - Part 1: Pass a newly created nsStyleContext to GetAnimationRule and MaybeUpdateAnimationRule. r=birtles
While resolving style context, the primary frame of the target element
has previous style context so if we don't pass the newly created nsStyleContext,
UpdateCascadeResults uses the previous style to get overridden properties, it
will result unexpected cascading results.

MozReview-Commit-ID: osqXQlP43X

--HG--
extra : rebase_source : 1b34f9245367c2613807156559f09f5f2943458c
2016-07-11 17:28:14 +09:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Carsten "Tomcat" Book
c5e638ab8c Merge mozilla-central to mozilla-inbound 2016-07-08 12:16:57 +02:00
Carsten "Tomcat" Book
75e7b5bab2 merge fx-team to mozilla-central a=merge 2016-07-08 11:57:15 +02:00
Wes Kocher
86a74db006 Merge m-c to autoland, a=merge 2016-07-07 17:36:17 -07:00
Jonathan Chan
1a5bdaf720 Bug 1285365 - Part 2: Add missing includes and namespace qualifiers. r=dholbert
MozReview-Commit-ID: 5vDmc1yGe1P

--HG--
extra : rebase_source : 32900ffc0d09943f85bbe5c289f2ce6cede20c47
2016-07-07 14:05:28 -07:00
Jonathan Chan
50f570bb20 Bug 1285365 - Part 1: Remove trailing whitespace from nsCSSParser. r=dholbert
MozReview-Commit-ID: HNHfHK3d2BR

--HG--
extra : rebase_source : e105c292aa8a55c8a9fc068d548866241582e162
2016-07-07 14:05:23 -07:00
Brian Birtles
3dedc86d90 Bug 1277908 - Keep visited rule node alive while creating non-visited style context; r=dholbert
MozReview-Commit-ID: Eqti28E14Jp

--HG--
extra : rebase_source : b1ab439dd85e87c11dcc5a85b70fcc21a48e328e
2016-07-08 13:17:42 +09:00
Gregory Szorc
f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
Bobby Holley
91a48b929e Bug 1283620 - Implement attribute API for servo. r=mrbkap 2016-07-07 09:59:09 -07:00
Bobby Holley
23e90f9834 Bug 1283620 - Hoist ValueIncludes into nsStyleUtil. r=mrbkap 2016-07-07 09:59:07 -07:00
Jeremy Chen
9667904735 Bug 906116 - part3.2.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=me
Remove unnecessary nsChangeHints used in
nsStyle*:DifferenceAlwaysHandledForDescendants. Accordingly,
nsStyle*:MaxDifference can be simplified as well.

This is a followup patch for part3.2 in Bug 906116.

MozReview-Commit-ID: GgU9xgghCO7
2016-07-07 16:58:51 +08:00
Rex Lee
d807a8a63e Bug 1261133 - Use pseudoClass for style editor transition. r=dbaron, r=pbro
MozReview-Commit-ID: Ck5JTXRR0mp

--HG--
extra : transplant_source : %95%0CQ%14%20%F0f%B84%E2%82%82%AB%F51%87%29%9EqL
2016-05-23 19:55:54 +08:00
Carsten "Tomcat" Book
2de695aebf Backed out changeset e98d1ac584d6 (bug 1241932) 2016-07-06 05:59:52 +02:00
Brad Werth
1656f9d629 Bug 1241932 - Expose decoded CSS grid line properties via a Chrome API. r=mats 2016-07-05 13:35:52 -07:00
Kartikaya Gupta
211af87d45 Bug 1261754 - Trivial follow-up to fix outdated documentation. r=me and DONTBUILD because NPOTB.
MozReview-Commit-ID: E5fmJ48Y0xH
2016-07-05 14:20:59 -04:00
Astley Chen
c9de3d6a41 Bug 1283679 - fix misspelled mask-composite:subtract keyword. r=dbaron
MozReview-Commit-ID: 67UEtupOLoM

--HG--
extra : rebase_source : d5c27da11ae0be79ef551c70cfeb17dcf1c3db67
2016-07-04 11:17:13 +08:00
Xidorn Quan
ce930266d1 Bug 1249497 - Use isolate-override for bdo elements. r=jfkthame
MozReview-Commit-ID: 9Sx87z5gcqZ

--HG--
extra : rebase_source : 1c0d4b53be58e7ee2656b5de9d8f73414e0ea707
2016-07-01 09:53:26 +10:00
Carsten "Tomcat" Book
5f79b99ba6 Merge mozilla-central to autoland 2016-07-04 13:09:12 +02:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Brian Birtles
c42c3acc9a Bug 1283387 part 2 - Implement updated calculation of active time in after phase with negative end delay r=hiro
This implements the changes to the specified behavior from the following
changeset:

  a9ba51338e

It also updates test expectations based on the tests updated in part 1 of this
patch series.

MozReview-Commit-ID: HyJC8tHXLYc

--HG--
extra : rebase_source : 6d0f5eb03a2bb4c3938d79dfae7ee433d33fd2b1
2016-07-01 09:31:02 +09:00
Brian Birtles
e7db0c0103 Bug 1283387 part 1 - Add tests for updated end delay handling r=hiro
Based on the following changes to the specification:

  a9ba51338e

MozReview-Commit-ID: zSKTr4T8BM

--HG--
extra : rebase_source : 26747443cfb359e53349b7977bae79e8f928e78a
2016-07-01 09:27:28 +09:00
Xidorn Quan
8bb94fa4a4 Bug 1141895 part 2 - Use unprefixed unicode-bidi values in internal code. r=jfkthame
MozReview-Commit-ID: 1o2NEe8eiSX

--HG--
extra : rebase_source : b09e931fc8e318ceda224fe9c02dd7931c75f8ed
2016-06-30 16:25:31 +10:00
Carsten "Tomcat" Book
6152d5afcc Merge mozilla-central to mozilla-inbound 2016-06-30 12:46:28 +02:00
Carsten "Tomcat" Book
3a42c363cc merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Andi-Bogdan Postelnicu
6fce770cb0 Bug 1282408 - add ignore initialization check flag for |mOrigin| from Layer. r=dbaron
MozReview-Commit-ID: CFITyJ7IFlZ
2016-06-30 11:24:43 +03:00
Emilio Cobos Álvarez
e6ed33b04e Bug 1283242: style: Whitespace cleanup and remove dead code. r=bobbyholley+313730
gNewCount and gSharedCount aren't even declared.

--HG--
extra : rebase_source : 3c7d79a360ad6eef2e884de513ee45a289d4cd0a
2016-06-29 11:27:42 +00:00
Carsten "Tomcat" Book
13ce7275a3 Merge mozilla-central to autoland 2016-06-29 16:22:44 +02:00
Ting-Yu Lin
8c5af6b331 Bug 1282029 Part 2 - Update comments. r=dbaron
MozReview-Commit-ID: AB01qG99GeH

--HG--
extra : rebase_source : 333e0c02f9b6ef6daadd841cf4be2e35e72158c3
2016-06-24 17:47:33 +08:00
Ting-Yu Lin
b1101f8897 Bug 1282029 Part 1 - Remove superfluous access modifiers. r=dbaron
MozReview-Commit-ID: 5HRNtYECUjU

--HG--
extra : rebase_source : d0cc30bcd72168d1da345dcb72e9f41876977755
2016-06-24 17:47:32 +08:00
Xidorn Quan
ac2b4d49af Bug 1199529 - Remove :-moz-full-screen-ancestor pseudo-class as well as its state bit. r=smaug
MozReview-Commit-ID: J0hGsLLdyam

--HG--
extra : source : cd7387a33f05453690ba755454686f2469f7b562
2016-06-30 09:24:41 +10:00
Xidorn Quan
832704b3e6 Bug 1135534 - Crashtest for this bug. r=dholbert
MozReview-Commit-ID: 4wm23OC9j34

--HG--
extra : source : 2bbf2c2dd04ca7d4cfca331f5719e660a6b0fe65
extra : amend_source : a5fb72aab75aa540ae922abf738c859a3f466741
2016-07-04 08:59:51 +10:00
Boris Chiou
c55ea50fab Bug 1244590 - Part 1: Introduce KeyframeEffectParams. r=birtles
Add a new file, KeyframeEffectParams.h, and define the basic data
members nsString for the spacing mode.
Also, add one more argument, const KeyframeEffectParams&, to the
constructors of KeyframeEffect(ReadOnly).

MozReview-Commit-ID: I7LYlnv6LLb

--HG--
extra : rebase_source : 9aebb7b9659588674c2a954eb2ce62c827bc9830
2016-05-05 15:41:03 +08:00
Brian Birtles
7dbb4e5cf3 Bug 1276688 part 2 - Add tests for entries array handling when ComputeValues fails; r=heycam, r=smaug
MozReview-Commit-ID: DIQyt7f91an
2016-06-28 16:10:10 +09:00
Jeremy Chen
0d17d1e151 Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL

--HG--
extra : rebase_source : d0deff5bb579438c33b7b3288fc76d8b0420e1af
2016-07-06 13:06:14 +08:00
Jeremy Chen
35861acb00 Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal

--HG--
extra : rebase_source : 7eb5f6528268001108b11dab7c00252714ca738d
2016-07-06 13:06:14 +08:00
Jeremy Chen
1c15f8a673 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw

--HG--
extra : rebase_source : f864e6f66c28e92574fb316a686e2d6d8fcb78e3
2016-07-06 13:06:13 +08:00
Astley Chen
c0cfafab52 Bug 1284169 - include ACDEFINES flags in CSS properties PyGen r=mshal
MozReview-Commit-ID: 6fBTizGkBqG

--HG--
extra : rebase_source : 3d5a10b19941383e16c84712c3d6403632e7da50
2016-07-04 13:48:54 +08:00
Carsten "Tomcat" Book
1a67b0a534 Backed out changeset 0f4e9c57ee8e (bug 906116) for bustage on a CLOSED TREE 2016-07-06 05:40:49 +02:00
Carsten "Tomcat" Book
95bf0b9965 Backed out changeset 17d17aeec1fa (bug 906116) 2016-07-06 05:40:07 +02:00
Carsten "Tomcat" Book
cb8e0bf0b1 Backed out changeset 34c54dbb1b7d (bug 906116) 2016-07-06 05:40:07 +02:00
Jeremy Chen
4d805b1b21 Bug 906116 - part3.2: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame | (any ther bits needed) to replace
NS_STYLE_HINT_FRAMECHANGE in nsStyle*::MaxDifference.

For those nsStyle* that do not have nsChangeHint_NeutralChange in their
CalcDifference, we should be able to elimate nsChangeHint_NeutralChange from
their MaxDifference as well.

MozReview-Commit-ID: B3VJWt6gKoL

--HG--
extra : rebase_source : 7b568b680be4ea108b08cc565f1651ded70d357d
2016-07-06 09:59:56 +08:00
Jeremy Chen
df7ed352fc Bug 906116 - part3.1: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame in
nsStyle*::CalcDifference.

MozReview-Commit-ID: 85WPCyYolal

--HG--
extra : rebase_source : 3a5e247fe38e0b75d9ea1826ce5758b5a5862675
2016-07-06 09:59:55 +08:00
Jeremy Chen
b789d84b05 Bug 906116 - part1: Ensure bracing all controlled statements in nsStyleStruct.h and nsStyleStruct.cpp. r=dbaron
According to our coding style guide, we should always brace controlled
statements, even a single-line consequent of an if-else-statement. It avoids
dangling else bugs.

MozReview-Commit-ID: FT1AR5MqOGw

--HG--
extra : rebase_source : 111b4f70c83a59ee7dab8bf8adf60bc10916cc79
2016-07-06 09:59:55 +08:00
Daniel Holbert
bb70efdaf2 Bug 1278463: Better-distinguish between "stroke-dasharray" keyword values vs. list values, in StyleAnimationValue.cpp. r=birtles
MozReview-Commit-ID: 9U4v322RIw7
2016-06-28 12:41:33 -07:00
Hiroyuki Ikezoe
ee7fe17000 Bug 1275142 - Don't create animate SVG along with its parent element at the same time. r=birtles
If we create an animate SVG along with its parent, in rare cases,
the animation does not start in the first frame, i.e, it's the frame
that the animated element and its parent element are created. In such
cases, restyle for the animation is not observed in the first frame.
To avoid it, we need to create parent element in the first place,
then, append an animated element into the parent in the next frame.

MozReview-Commit-ID: 3GPDxX4cmkQ

--HG--
extra : rebase_source : 5cfa60deb3661df443ffd07c8e39d50752ab47f8
2016-06-27 10:57:27 +09:00
cku
0ae824a629 bug 1281971 - Fix null pointer access in TryToStartImageLoadOnValue. r=dholbert
MozReview-Commit-ID: 6FAXlMb8iQr

--HG--
extra : rebase_source : 92e09dbb637403dd93da7ee16243da80976cff6c
2016-06-25 00:52:20 +08:00
Cameron McCormack
3265f73629 Bug 1280772 - Part 3: Store Servo-parsed style="" attributes in nsAttrValues. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e0f01ceba Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00