mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add comment for overflow-{x,y} applying to ::placeholder.
This commit is contained in:
parent
1981efcc35
commit
cda4e6d751
1 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,8 @@ ${helpers.single_keyword("-servo-overflow-clip-box", "padding-box content-box",
|
||||||
%>
|
%>
|
||||||
|
|
||||||
// FIXME(pcwalton, #2742): Implement scrolling for `scroll` and `auto`.
|
// FIXME(pcwalton, #2742): Implement scrolling for `scroll` and `auto`.
|
||||||
|
//
|
||||||
|
// We allow it to apply to placeholders for UA sheets, which set it !important.
|
||||||
${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
||||||
animation_value_type="discrete",
|
animation_value_type="discrete",
|
||||||
extra_gecko_values="-moz-hidden-unscrollable",
|
extra_gecko_values="-moz-hidden-unscrollable",
|
||||||
|
@ -215,6 +217,8 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
||||||
servo_restyle_damage = "reflow")}
|
servo_restyle_damage = "reflow")}
|
||||||
|
|
||||||
// FIXME(pcwalton, #2742): Implement scrolling for `scroll` and `auto`.
|
// FIXME(pcwalton, #2742): Implement scrolling for `scroll` and `auto`.
|
||||||
|
//
|
||||||
|
// We allow it to apply to placeholders for UA sheets, which set it !important.
|
||||||
<%helpers:longhand name="overflow-y" animation_value_type="discrete"
|
<%helpers:longhand name="overflow-y" animation_value_type="discrete"
|
||||||
flags="APPLIES_TO_PLACEHOLDER",
|
flags="APPLIES_TO_PLACEHOLDER",
|
||||||
spec="https://drafts.csswg.org/css-overflow/#propdef-overflow-y"
|
spec="https://drafts.csswg.org/css-overflow/#propdef-overflow-y"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue