Replace NonNegativeLengthOrNumber by a specific type for -moz-tab-size

This is the only use of this type.
This commit is contained in:
Anthony Ramine 2018-02-27 10:28:27 +01:00
parent da8604991e
commit 27732c7dbb
9 changed files with 49 additions and 28 deletions

View file

@ -487,11 +487,13 @@ ${helpers.predefined_type(
)}
${helpers.predefined_type(
"-moz-tab-size", "length::NonNegativeLengthOrNumber",
"::values::Either::First(From::from(8.0))",
products="gecko", animation_value_type="::values::computed::length::NonNegativeLengthOrNumber",
spec="https://drafts.csswg.org/css-text-3/#tab-size-property")}
"-moz-tab-size",
"MozTabSize",
"generics::text::MozTabSize::Number(From::from(8.0))",
products="gecko",
animation_value_type="AnimatedMozTabSize",
spec="https://drafts.csswg.org/css-text-3/#tab-size-property",
)}
// CSS Compatibility
// https://compat.spec.whatwg.org