style: Be consistent with naming and serialization of "0" with LenghtOrPercentageOrNumber.

This commit is contained in:
Emilio Cobos Álvarez 2017-03-26 20:09:56 +02:00
parent c2d9f663af
commit 5ca16a844c
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 12 additions and 10 deletions

View file

@ -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",