diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-05-17 00:44:00 +0200 |
---|---|---|
committer | Oriol Brufau <obrufau@igalia.com> | 2023-05-19 19:06:09 +0200 |
commit | 1cc44bd06536f0b9eaa0ae05a30448040155ec65 (patch) | |
tree | bd02400136bb530755fdd485c98c31a31da2170d /components/script/layout_dom/shadow_root.rs | |
parent | 60867bbe7ee0fea65174b904a7095e4cc8a8a87d (diff) | |
download | servo-1cc44bd06536f0b9eaa0ae05a30448040155ec65.tar.gz servo-1cc44bd06536f0b9eaa0ae05a30448040155ec65.zip |
style: Will-change should only create stacking contexts / containing blocks / etc if the property it'd change would apply
As per https://drafts.csswg.org/css-will-change/#will-change.
> If any non-initial value of a property would cause the element to
> generate a containing block for absolutely positioned elements,
> specifying that property in will-change must cause the element to
> generate a containing block for absolutely positioned elements.
But in this case the transform property wouldn't apply to the element so
there's no reason to create a stacking-context.
Differential Revision: https://phabricator.services.mozilla.com/D114121
Diffstat (limited to 'components/script/layout_dom/shadow_root.rs')
0 files changed, 0 insertions, 0 deletions