mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #16610 - Manishearth:fixup-overflow, r=emilio
overflow: -moz-scrollbars-none is shorthand-only <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16610) <!-- Reviewable:end -->
This commit is contained in:
commit
b7b5de0350
2 changed files with 6 additions and 1 deletions
|
@ -407,7 +407,6 @@ ${helpers.single_keyword("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`.
|
||||||
${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
||||||
need_clone=True, animation_value_type="none",
|
need_clone=True, animation_value_type="none",
|
||||||
extra_gecko_aliases="-moz-scrollbars-none=hidden",
|
|
||||||
extra_gecko_values="-moz-hidden-unscrollable",
|
extra_gecko_values="-moz-hidden-unscrollable",
|
||||||
custom_consts=overflow_custom_consts,
|
custom_consts=overflow_custom_consts,
|
||||||
gecko_constant_prefix="NS_STYLE_OVERFLOW",
|
gecko_constant_prefix="NS_STYLE_OVERFLOW",
|
||||||
|
|
|
@ -27,6 +27,12 @@
|
||||||
overflow_y: SpecifiedValue::scroll,
|
overflow_y: SpecifiedValue::scroll,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
"-moz-scrollbars-none" => {
|
||||||
|
Ok(Longhands {
|
||||||
|
overflow_x: SpecifiedValue::hidden,
|
||||||
|
overflow_y: SpecifiedValue::hidden,
|
||||||
|
})
|
||||||
|
}
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
});
|
});
|
||||||
if moz_kw_found.is_ok() {
|
if moz_kw_found.is_ok() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue