servo: Merge #16514 - Add extra pointer-events values for Gecko (fixes #16397) (from nox:pointer-events); r=upsuper
authorAnthony Ramine <n.oxyde@gmail.com>
Tue, 18 Apr 2017 08:33:51 -0500
changeset 353607 15dc288efa1a14f20deb721172ae1e032f202af7
parent 353606 5c6a248e2d337648618e68517199e31e0b169edb
child 353608 3cf6b363d1b32dc330739ec14de47f73232b2fc8
push id31673
push userkwierso@gmail.com
push dateTue, 18 Apr 2017 21:23:54 +0000
treeherdermozilla-central@1a81aadc2510 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersupsuper
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #16514 - Add extra pointer-events values for Gecko (fixes #16397) (from nox:pointer-events); r=upsuper Source-Repo: https://github.com/servo/servo Source-Revision: 7a7697897d373e05deed6810ea278169c28c4986
servo/components/style/properties/longhand/pointing.mako.rs
--- a/servo/components/style/properties/longhand/pointing.mako.rs
+++ b/servo/components/style/properties/longhand/pointing.mako.rs
@@ -143,16 +143,17 @@
         })
     }
 </%helpers:longhand>
 
 // 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.
 ${helpers.single_keyword("pointer-events", "auto none", animation_type="none",
+                         extra_gecko_values="visiblepainted visiblefill visiblestroke visible painted fill stroke",
                          spec="https://www.w3.org/TR/SVG11/interact.html#PointerEventsProperty")}
 
 ${helpers.single_keyword("-moz-user-input", "auto none enabled disabled",
                          products="gecko", gecko_ffi_name="mUserInput",
                          gecko_enum_prefix="StyleUserInput",
                          gecko_inexhaustive=True,
                          animation_type="none",
                          spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-user-input)")}