mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
style: Implement overflow-clip-margin: <length>
Differential Revision: https://phabricator.services.mozilla.com/D146432
This commit is contained in:
parent
8c3553226b
commit
d51bd1ee46
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,16 @@
|
||||||
)}
|
)}
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
|
${helpers.predefined_type(
|
||||||
|
"overflow-clip-margin",
|
||||||
|
"Length",
|
||||||
|
"computed::Length::zero()",
|
||||||
|
parse_method="parse_non_negative",
|
||||||
|
engines="gecko",
|
||||||
|
spec="https://drafts.csswg.org/css-overflow/#propdef-overflow-clip-margin",
|
||||||
|
animation_value_type="ComputedValue",
|
||||||
|
)}
|
||||||
|
|
||||||
% for side in ALL_SIDES:
|
% for side in ALL_SIDES:
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
"scroll-margin-%s" % side[0],
|
"scroll-margin-%s" % side[0],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue