mirror of
https://github.com/servo/servo.git
synced 2025-09-01 18:48:23 +01:00
Add flags to longhands for gecko glue
The flags are creates_stacking_context, fixpos_cb and abspos_cb. These will be needed in will-change glue.
This commit is contained in:
parent
56b8c1d8b7
commit
a3862780ac
6 changed files with 55 additions and 2 deletions
|
@ -59,6 +59,7 @@ ${helpers.single_keyword("mask-type", "luminance alpha",
|
|||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-type")}
|
||||
|
||||
<%helpers:longhand name="clip-path" animatable="False" products="gecko" boxed="True"
|
||||
creates_stacking_context="True"
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-clip-path">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
|
@ -189,7 +190,8 @@ ${helpers.single_keyword("mask-composite",
|
|||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-composite")}
|
||||
|
||||
<%helpers:vector_longhand name="mask-image" products="gecko" animatable="False" extra_prefixes="webkit"
|
||||
has_uncacheable_values="${product == 'gecko'}",
|
||||
has_uncacheable_values="${product == 'gecko'}"
|
||||
creates_stacking_context="True"
|
||||
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-image">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue