mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
594479fe15
commit
7518f5155d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue