diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-30 00:42:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 00:42:45 -0500 |
commit | 17bfe5c12013a47c09e0198d029f3ded2ccbc42c (patch) | |
tree | ccf0fc660f3f55512d0ba077a4995e150c427dc9 | |
parent | f4cf5dceee2ad70ea5335573a04d756fc37c20a0 (diff) | |
parent | c7172052f908f38014b2a93f3a162b4391cc5cf5 (diff) | |
download | servo-17bfe5c12013a47c09e0198d029f3ded2ccbc42c.tar.gz servo-17bfe5c12013a47c09e0198d029f3ded2ccbc42c.zip |
Auto merge of #19055 - upsuper:window-opacity, r=Manishearth
Add support for -moz-window-opacity to stylo
Fixes [bug 1374177](https://bugzilla.mozilla.org/show_bug.cgi?id=1374177).
<!-- 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/19055)
<!-- Reviewable:end -->
-rw-r--r-- | components/style/properties/longhand/ui.mako.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/style/properties/longhand/ui.mako.rs b/components/style/properties/longhand/ui.mako.rs index 5115e31d6f5..6152411155a 100644 --- a/components/style/properties/longhand/ui.mako.rs +++ b/components/style/properties/longhand/ui.mako.rs @@ -40,6 +40,12 @@ ${helpers.single_keyword("-moz-window-shadow", "none default menu tooltip sheet" internal=True, spec="None (Nonstandard internal property)")} +${helpers.predefined_type("-moz-window-opacity", "Opacity", "1.0", products="gecko", + gecko_ffi_name="mWindowOpacity", + animation_value_type="ComputedValue", + internal=True, + spec="None (Nonstandard internal property)")} + <%helpers:longhand name="-moz-force-broken-image-icon" products="gecko" animation_value_type="discrete" |