Create a generic flag system for properties

This commit is contained in:
Nazım Can Altınova 2017-04-01 01:57:47 +03:00
parent 355d5f89da
commit 67799f9445
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
6 changed files with 36 additions and 35 deletions

View file

@ -59,7 +59,7 @@ ${helpers.single_keyword("mask-type", "luminance alpha",
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-type")}
<%helpers:longhand name="clip-path" animation_type="none" products="gecko" boxed="True"
creates_stacking_context="True"
flags="CREATES_STACKING_CONTEXT"
spec="https://drafts.fxtf.org/css-masking/#propdef-clip-path">
use std::fmt;
use style_traits::ToCss;
@ -200,7 +200,7 @@ ${helpers.single_keyword("mask-composite",
<%helpers:vector_longhand name="mask-image" products="gecko" animation_type="none" extra_prefixes="webkit"
has_uncacheable_values="${product == 'gecko'}"
creates_stacking_context="True"
flags="CREATES_STACKING_CONTEXT",
spec="https://drafts.fxtf.org/css-masking/#propdef-mask-image">
use std::fmt;
use style_traits::ToCss;