mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
stylo: Add stroke-width property
MozReview-Commit-ID: 4QKKzJ1DVYP
This commit is contained in:
parent
51b03fbc7d
commit
3b0840d187
2 changed files with 17 additions and 1 deletions
|
@ -65,6 +65,16 @@ ${helpers.predefined_type(
|
|||
boxed=True,
|
||||
spec="https://www.w3.org/TR/SVG2/painting.html#SpecifyingStrokePaint")}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"stroke-width", "LengthOrPercentage",
|
||||
"computed::LengthOrPercentage::one()",
|
||||
"parse_non_negative",
|
||||
products="gecko",
|
||||
animatable=True,
|
||||
needs_context=False,
|
||||
boxed=True,
|
||||
spec="https://www.w3.org/TR/SVG2/painting.html#StrokeWidth")}
|
||||
|
||||
${helpers.single_keyword("stroke-linecap", "butt round square",
|
||||
products="gecko", animatable=False,
|
||||
spec="https://www.w3.org/TR/SVG11/painting.html#StrokeLinecapProperty")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue