Auto merge of #20444 - upsuper:overflow-placeholder, r=emilio

Add comment for overflow-{x,y} applying to ::placeholder

Add comment based on [flags in nsCSSPropList.h](https://searchfox.org/mozilla-central/rev/003262ae12ce937950ffb8d3b0fa520d1cc38bff/layout/style/nsCSSPropList.h#3244,3256).

<!-- 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/20444)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-03-27 02:56:25 -04:00 committed by GitHub
commit 3561bcdbe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,6 +205,8 @@ ${helpers.single_keyword("-servo-overflow-clip-box", "padding-box content-box",
%>
// 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",
animation_value_type="discrete",
extra_gecko_values="-moz-hidden-unscrollable",
@ -215,6 +217,8 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
servo_restyle_damage = "reflow")}
// 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"
flags="APPLIES_TO_PLACEHOLDER",
spec="https://drafts.csswg.org/css-overflow/#propdef-overflow-y"