зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1365926, part 2 - Always allow the 'context-fill-opacity'/'context-stroke-opacity' keywords in SVG 'fill-opacity'/'stroke-opacity'. r=heycam
MozReview-Commit-ID: KPYtjwECRHH
This commit is contained in:
Родитель
2642ec495c
Коммит
74330c66d6
|
@ -1724,7 +1724,7 @@ CSS_PROP_SVG(
|
|||
FillOpacity,
|
||||
CSS_PROPERTY_PARSE_VALUE,
|
||||
"",
|
||||
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD,
|
||||
VARIANT_HN | VARIANT_KEYWORD,
|
||||
kContextOpacityKTable,
|
||||
offsetof(nsStyleSVG, mFillOpacity),
|
||||
eStyleAnimType_float)
|
||||
|
@ -3869,7 +3869,7 @@ CSS_PROP_SVG(
|
|||
StrokeOpacity,
|
||||
CSS_PROPERTY_PARSE_VALUE,
|
||||
"",
|
||||
VARIANT_HN | VARIANT_OPENTYPE_SVG_KEYWORD,
|
||||
VARIANT_HN | VARIANT_KEYWORD,
|
||||
kContextOpacityKTable,
|
||||
offsetof(nsStyleSVG, mStrokeOpacity),
|
||||
eStyleAnimType_float)
|
||||
|
|
|
@ -80,7 +80,7 @@ to mochitest command.
|
|||
* Unsupported values
|
||||
* SVG-in-OpenType values not supported servo/servo#15211 bug 1355412
|
||||
* test_value_storage.html `context-` [7]
|
||||
* test_bug798843_pref.html [5]
|
||||
* test_bug798843_pref.html [3]
|
||||
* Incorrect parsing
|
||||
* different parsing bug 1364260
|
||||
* test_supports_rules.html [6]
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
<script>
|
||||
|
||||
var props = {
|
||||
"fillOpacity" : "context-stroke-opacity",
|
||||
"strokeOpacity" : "context-fill-opacity",
|
||||
"strokeDasharray" : "context-value",
|
||||
"strokeDashoffset" : "context-value",
|
||||
"strokeWidth" : "context-value"
|
||||
|
|
Загрузка…
Ссылка в новой задаче