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:
Nazım Can Altınova 2017-03-03 18:47:42 +03:00
parent 56b8c1d8b7
commit a3862780ac
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
6 changed files with 55 additions and 2 deletions

View file

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