mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Replace IntegerOrAuto with ZIndex
It's its only use.
This commit is contained in:
parent
6a7ae3b12e
commit
b44ffcf498
9 changed files with 75 additions and 50 deletions
|
@ -42,12 +42,14 @@ macro_rules! impl_align_conversions {
|
|||
};
|
||||
}
|
||||
|
||||
${helpers.predefined_type("z-index", "IntegerOrAuto",
|
||||
"Either::Second(Auto)",
|
||||
spec="https://www.w3.org/TR/CSS2/visuren.html#z-index",
|
||||
flags="CREATES_STACKING_CONTEXT",
|
||||
animation_value_type="ComputedValue")}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"z-index",
|
||||
"ZIndex",
|
||||
"computed::ZIndex::auto()",
|
||||
spec="https://www.w3.org/TR/CSS2/visuren.html#z-index",
|
||||
flags="CREATES_STACKING_CONTEXT",
|
||||
animation_value_type="ComputedValue",
|
||||
)}
|
||||
|
||||
// CSS Flexible Box Layout Module Level 1
|
||||
// http://www.w3.org/TR/css3-flexbox/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue