diff options
author | Boris Zbarsky <bzbarsky@mit.edu> | 2017-05-22 22:10:55 -0400 |
---|---|---|
committer | Boris Zbarsky <bzbarsky@mit.edu> | 2017-05-22 22:10:55 -0400 |
commit | 7518f5155d29fd97abd5f0f8a310dad954495281 (patch) | |
tree | 515a347eafe82f8bcfb871cc2f0b83b0df32ea1a | |
parent | 594479fe15f810d148e2352951affe905b1e13ff (diff) | |
download | servo-7518f5155d29fd97abd5f0f8a310dad954495281.tar.gz servo-7518f5155d29fd97abd5f0f8a310dad954495281.zip |
The 'contain' property can affect whether a box is a fixed-pos containing block.
This makes will-change:contain work correctly.
-rw-r--r-- | components/style/properties/longhand/box.mako.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index fe9aa583a2b..655ebf62ad2 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -2219,6 +2219,7 @@ ${helpers.single_keyword("transform-style", // like `content`(layout style paint) in gecko. We should implement `size` and `content`, // also update the glue once they are implemented in gecko. <%helpers:longhand name="contain" animation_value_type="none" products="gecko" need_clone="True" + flags="FIXPOS_CB" spec="https://drafts.csswg.org/css-contain/#contain-property"> use std::fmt; use style_traits::ToCss; |