From 7518f5155d29fd97abd5f0f8a310dad954495281 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 22 May 2017 22:10:55 -0400 Subject: [PATCH] The 'contain' property can affect whether a box is a fixed-pos containing block. This makes will-change:contain work correctly. --- components/style/properties/longhand/box.mako.rs | 1 + 1 file changed, 1 insertion(+) 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;