mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
style: use the same type for overflow-clip-box longhands.
Needed to add the hacky padding_box scheme, will fix it up later.
This commit is contained in:
parent
cdf7ae51b6
commit
35d0e7cf0f
7 changed files with 64 additions and 54 deletions
|
@ -373,21 +373,21 @@ ${helpers.single_keyword("-servo-overflow-clip-box", "padding-box content-box",
|
|||
spec="Internal, not web-exposed, \
|
||||
may be standardized in the future (https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-clip-box)")}
|
||||
|
||||
${helpers.single_keyword("overflow-clip-box-block", "padding-box content-box",
|
||||
products="gecko", animation_value_type="discrete", enabled_in="ua",
|
||||
gecko_pref="layout.css.overflow-clip-box.enabled",
|
||||
gecko_constant_prefix="NS_STYLE_OVERFLOW_CLIP_BOX",
|
||||
flags="APPLIES_TO_PLACEHOLDER",
|
||||
spec="Internal, not web-exposed, \
|
||||
may be standardized in the future (https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-clip-box)")}
|
||||
|
||||
${helpers.single_keyword("overflow-clip-box-inline", "padding-box content-box",
|
||||
products="gecko", animation_value_type="discrete", enabled_in="ua",
|
||||
gecko_pref="layout.css.overflow-clip-box.enabled",
|
||||
gecko_constant_prefix="NS_STYLE_OVERFLOW_CLIP_BOX",
|
||||
flags="APPLIES_TO_PLACEHOLDER",
|
||||
spec="Internal, not web-exposed, \
|
||||
may be standardized in the future (https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-clip-box)")}
|
||||
% for direction in ["inline", "block"]:
|
||||
${helpers.predefined_type(
|
||||
"overflow-clip-box-" + direction,
|
||||
"OverflowClipBox",
|
||||
"computed::OverflowClipBox::padding_box",
|
||||
products="gecko",
|
||||
enabled_in="ua",
|
||||
needs_context=False,
|
||||
flags="APPLIES_TO_PLACEHOLDER",
|
||||
gecko_pref="layout.css.overscroll-behavior.enabled",
|
||||
animation_value_type="discrete",
|
||||
spec="Internal, may be standardized in the future: \
|
||||
https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-clip-box",
|
||||
)}
|
||||
% endfor
|
||||
|
||||
<%
|
||||
overflow_custom_consts = { "-moz-hidden-unscrollable": "CLIP" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue