mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Implement the unitless length quirk for position properties
This commit is contained in:
parent
91cc30046b
commit
46913ffe1d
3 changed files with 586 additions and 306 deletions
|
@ -13,7 +13,8 @@
|
|||
${helpers.predefined_type(side, "LengthOrPercentageOrAuto",
|
||||
"computed::LengthOrPercentageOrAuto::Auto",
|
||||
spec="https://www.w3.org/TR/CSS2/visuren.html#propdef-%s" % side,
|
||||
animation_value_type="ComputedValue")}
|
||||
animation_value_type="ComputedValue",
|
||||
allow_quirks=True)}
|
||||
% endfor
|
||||
// offset-* logical properties, map to "top" / "left" / "bottom" / "right"
|
||||
% for side in LOGICAL_SIDES:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue