cku
773e94febb
Bug 652991 - Part 7. Using FragmentOrURL to represent SVG filter url. r=heycam
...
MozReview-Commit-ID: F6BpTQfC82i
2016-07-23 16:16:59 +08:00
cku
3f66d7ecff
Bug 652991 - Part 5. Using FragmentOrURL to represent SVG clippath. r=heycam
...
MozReview-Commit-ID: BErpWUQ5iQ1
2016-07-05 00:59:57 +08:00
Cameron McCormack
547ed4efcb
Bug 1290023 - Allow enum class values to be passed to other nsCSSProps methods and stored in nsCSSValue/StyleAnimationValue. r=xidorn
...
MozReview-Commit-ID: 62usVamI3GA
2016-07-29 16:18:48 +08:00
Boris Chiou
bfcdbafad5
Bug 1272475 - Part 1: Clamp max/min float value in the parser of CSS Transform function. r=heycam
...
To avoid calculate +/-infinite function value, we clamp it in the parser level.
Also, we use EnsureNotNan while calculating the interpolation for translate
function, so it's also better to do EnsureNotNan before call SetFloatValue()
while calculating the interpolation for rotate (AddCSSValueAngle) and scale
functions.
MozReview-Commit-ID: 1k19ytyNG1N
2016-07-20 15:14:05 +08:00
Manish Goregaokar
fa33e2df00
Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
...
MozReview-Commit-ID: EgC9rPNXbod
2016-07-25 11:53:27 +05:30
Manish Goregaokar
85ef694b65
Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
...
MozReview-Commit-ID: H6nwOybonF3
2016-07-25 11:52:34 +05:30
Manish Goregaokar
f0b17743f1
Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
...
MozReview-Commit-ID: KutLb8H9JOk
2016-07-20 11:12:42 +05:30
Daniel Holbert
9da52241dd
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
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Ting-Yu Lin
669970ece8
Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
...
MozReview-Commit-ID: 5TC8KBD5cO6
2016-05-26 14:01:58 +08:00
Xidorn Quan
90f7282451
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
39f3eff072
Backed out 4 changesets (bug 1269975) for bustage.
...
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Xidorn Quan
38e4a7340d
Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
...
MozReview-Commit-ID: 3KH5cqDFzUI
2016-05-10 13:36:25 +10:00
Jonathan Watt
c5159136c4
Bug 1266868, part 3 - Avoid Maybe::ref() where not necessary. r=dholbert
2016-05-02 18:54:58 +01:00
Jonathan Watt
f7b0cabc38
Bug 1266868, part 2 - Fix leaks of the values passed to nsCSSValue::.SetPairValue in the StyleAnimationValue code. r=dholbert
2016-05-02 18:40:08 +01:00
Jonathan Watt
1da20efc5f
Bug 1266868, part 1 - Fix nsCSSValue::Array leaks in the StyleAnimationValue code. r=dholbert
2016-05-02 18:39:23 +01:00
Markus Stange
94cd9c9960
Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
...
MozReview-Commit-ID: 8Qb0asWMgVA
2016-04-21 20:23:35 -04:00
Wes Kocher
1a290e54b0
Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
...
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)
MozReview-Commit-ID: AlUihrLtlhL
2016-04-29 14:47:43 -07:00
Markus Stange
96a62345d1
Bug 550426 - Add support for {background,mask}-position-{x,y}, StyleAnimation changes. r=dbaron
...
MozReview-Commit-ID: 8Qb0asWMgVA
***
2016-04-21 20:23:35 -04:00
CJKu
647da23a2f
Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
...
MozReview-Commit-ID: 2SfENZieSzQ
2016-04-26 23:56:44 +08:00
Jeremy Chen
753e4f7268
Bug 1248708 - Part1: parse and compute -webkit-text-stroke property. r=heycam
2016-04-23 01:40:39 +08:00
Xidorn Quan
60633d5469
Bug 1260543 - Treat currentcolor as computed value which is not interpolatable with actual color for text-emphasis-color and -webkit-text-fill-color. r=birtles
...
MozReview-Commit-ID: GUXEDHxOdNC
2016-04-08 13:43:09 +10:00
Daniel Holbert
19c2319e94
Bug 1264787: Make nsCSSValue's AdoptListValue & AdoptPairListValue methods take a UniquePtr. r=heycam
...
MozReview-Commit-ID: 94aYEtySHsW
2016-04-20 10:37:06 -07:00
Mantaroh Yoshinaga
db1fb5e7d7
Bug 1259285 - Part1 - Move CSS/Web Animations-specific visibility handling. r=birtles
...
MozReview-Commit-ID: 5ZYUhvI1cqV
2016-04-20 09:05:29 +09:00
Jonathan Watt
79f3420ee2
Bug 1110460, part 8 - Support CSS animation of clip-path basic shapes. r=dholbert
2016-04-18 23:04:20 +01:00
Jonathan Watt
3c9369f032
Bug 1110460, part 7 - Factor out code for adding two nsCSSValuePairList lists. r=dholbert
2016-04-15 13:28:32 +01:00
CJKu
3773790ca6
Bug 1261578 - Part 2. Correct text decoration color; r=jfkthame
...
MozReview-Commit-ID: LfZnmTnL5KY
2016-04-19 17:09:54 +08:00
Jonathan Watt
baaf85570c
Bug 1110460, part 6 - Make StyleAnimationValue support css::URLValue backed nsCSSValue objects. r=dholbert
2016-04-07 22:30:12 +01:00
Jonathan Watt
5ae16df51d
Bug 1263962 - Revert previous commit (f996f81bb492) for including unrelated changes. r=me
2016-04-01 21:47:39 +01:00
Jonathan Watt
c157e2180e
Bug 1263962 - Expand on the StyleAnimationValue::ExtractComputedValue documentation. r=dholbert
2016-04-01 21:37:01 +01:00
Cameron McCormack
a08ba659c3
Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert
2016-04-12 15:52:43 +10:00
Cameron McCormack
5c65b6f60f
Bug 1261754 - Part 9: Move clip from nsStyleDisplay to nsStyleEffects. r=dholbert
2016-04-12 15:52:42 +10:00
Brian Birtles
0799ca0f51
Bug 1260655 - Allow StyleAnimationValue::UncomputeValue to produce values whose storage is independent of the passed-in computed value; r=heycam
...
When we go to switch CSS Animations over to using
KeyframeEffectReadOnly::SetFrames we will need a way to represent any filled-in
from/to values as nsCSSValue objects. These objects are built from the current
computed style. We currently use StyleAnimationValue::ExtractComputedValue for
this which returns a StyleAnimationValue. In order to convert this to an
nsCSSValue we can use StyleAnimationValue::UncomputeValue. However, in some
cases, the nsCSSValue objects returned by that method are dependent on the
passed-in StyleAnimationValue object.
This patch adds an overload to UncomputeValue that takes an rvalue
StyleAnimationValue reference and produces an nsCSSValue that is independent
of the StyleAnimationValue through a combination of copying data and
transferring ownership of data.
This patch also adjusts the return value for the case of filter and shadow
lists when the list is empty so that we return a none value in this case.
These are the only list types which are allowed to have a null list value.
Not only does this produce the correct result when these values are serialized
(the initial value for 'filter', 'text-shadow', and 'box-shadow' is 'none') it
also means that UncomputeValue should never return an nsCSSValue whose unit is
null which is important because when we later pass that value to BuildStyleRule
it will treat a null nsCSSValue as an error case (specifically, "longhand failed
to parse").
MozReview-Commit-ID: 4RoCn39ntiJ
2016-03-30 12:39:59 +09:00
Jeremy Chen
8cf5419958
Bug 1261568 - part1: take -webkit-text-fill-color into consideration while
...
building displaylist for text frame. r=jfkthame
2016-04-05 12:35:44 +08:00
Jeremy Chen
f9662ce154
Bug 1247777 - Part1: parse and compute -webkit-text-fill-color property. r=heycam
2016-03-25 15:54:49 +08:00
Brian Birtles
314719d9f6
Bug 1245748 - Add a variant of StyleAnimationValue::ComputeValues that takes an nsCSSValue; r=heycam
...
MozReview-Commit-ID: 83popM8E0Q4
2016-03-22 16:31:16 +09:00
Brian Birtles
dcbf9f7051
Bug 1245748 - Add nsStyleContext parameter to StyleAnimationValue::ComputeValue(s); r=heycam
...
StyleAnimationValue::ComputeValue(s) will automatically look up the style
context of the supplied element. This is mostly fine, but when we start using
this method in scenarios where we are building the initial style context
(as happens later in this patch series) it can easily land us in a situation
where we iterate indefinitely.
It would be better, instead, to just explicitly pass in the style context we
want to use, as we already do for StyleAnimationValue::ExtractComputedValue.
MozReview-Commit-ID: ZoVBlBRRBI
2016-03-22 16:31:09 +09:00
CJKu
3c9eb1e509
Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
...
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
Daniel Holbert
e54c52c7b5
Bug 1251530: Use 'MakeUnique' instead of 'new' to populate UniquePtr variable in AddCSSValuePair. r=jwatt
2016-02-26 07:34:37 -08:00
Cameron McCormack
8a879b8032
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Jonathan Watt
476a517733
Bug 1110460, part 3 - Factor out a AddCSSValuePair helper in StyleAnimationValue.cpp. r=dholbert
2016-02-17 00:19:26 +00:00
Jonathan Watt
dea3fb7ed9
Bug 1110460, part 2 - Move AddPositions() further up StyleAnimationValue.cpp and add asserts. r=dholbert
2016-02-17 00:19:26 +00:00
Boris Chiou
32cdf253b7
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
2016-02-17 21:37:00 +01:00
Boris Chiou
16edfa82cd
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
2016-02-16 23:07:00 +01:00
Boris Chiou
d73c83e4d5
Bug 1174575 - Part 5: Support pseudo-element type in StyleAnimation. r=birtles
...
Add one more argument, nsCSSPseudoElement::Type, for
StyleAnimation::ComputeValue and StyleAnimation::ComputeValues
2016-02-09 05:04:00 +01:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
William Chen
c5d8305971
Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam
2016-02-01 16:45:09 -08:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
CJKu
3ac42bd03c
Bug 686281 - Rename nsStyleSVGReset::mLayers to nsStyleSVGReset::mMask; Rename nsStyleBackground::mLayers to nsStyleBackground::mImage. r=dbaron
2016-01-28 06:39:00 +01:00