mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
style: Be consistent with naming and serialization of "0" with LenghtOrPercentageOrNumber.
This commit is contained in:
parent
c2d9f663af
commit
5ca16a844c
3 changed files with 12 additions and 10 deletions
|
@ -92,7 +92,9 @@ ${helpers.predefined_type("stroke-opacity", "Opacity", "1.0",
|
|||
products="gecko", animatable=False,
|
||||
spec="https://www.w3.org/TR/SVG11/painting.html#StrokeOpacityProperty")}
|
||||
|
||||
${helpers.predefined_type("stroke-dasharray", "LoPOrNumber", "Either::Second(0.0)",
|
||||
${helpers.predefined_type("stroke-dasharray",
|
||||
"LengthOrPercentageOrNumber",
|
||||
"Either::Second(0.0)",
|
||||
"parse_non_negative",
|
||||
vector="True",
|
||||
products="gecko",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue