The 'contain' property can affect whether a box is a fixed-pos containing block.

This makes will-change:contain work correctly.
This commit is contained in:
Boris Zbarsky 2017-05-22 22:10:55 -04:00
parent 594479fe15
commit 7518f5155d

View file

@ -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;