layout: Implement pointer-events: none per SVG 1.1 § 16.6.

SVG-only values are not yet supported.
This commit is contained in:
Patrick Walton 2015-01-01 17:12:51 -05:00
parent df6a7959df
commit 899c9429d0
4 changed files with 58 additions and 12 deletions

View file

@ -1543,6 +1543,11 @@ pub mod longhands {
}
</%self:single_component_value>
// NB: `pointer-events: auto` (and use of `pointer-events` in anything that isn't SVG, in fact)
// is nonstandard, slated for CSS4-UI.
// TODO(pcwalton): SVG-only values.
${single_keyword("pointer-events", "auto none")}
// Box-shadow, etc.
${new_style_struct("Effects", is_inherited=False)}