style: Un-prefix -moz-tab-size (keeping the prefixed version as an alias for now)

This results in lots of new WPT test passes.

There were also a couple of WPT tests that turned out to be broken;
tab-size-inline-001 and -002 had errors in their reference files such
that they'd never pass anywhere. So those are fixed here.

Depends on D117331

Differential Revision: https://phabricator.services.mozilla.com/D117332
This commit is contained in:
Jonathan Kew 2023-05-21 23:36:30 +02:00 committed by Oriol Brufau
parent 4353d31cb0
commit f0a178b56a
4 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,6 @@ COUNTED_UNKNOWN_PROPERTIES = [
"-webkit-user-modify",
"-webkit-margin-before",
"-webkit-margin-after",
"tab-size",
"-webkit-margin-start",
"-webkit-column-break-inside",
"-webkit-padding-start",

View file

@ -759,7 +759,7 @@ def _add_logical_props(data, props):
# These are probably Gecko bugs and should be supported per spec.
def _remove_common_first_line_and_first_letter_properties(props, engine):
if engine == "gecko":
props.remove("-moz-tab-size")
props.remove("tab-size")
props.remove("hyphens")
props.remove("line-break")
props.remove("text-align-last")

View file

@ -238,12 +238,13 @@ ${helpers.predefined_type(
)}
${helpers.predefined_type(
"-moz-tab-size",
"tab-size",
"NonNegativeLengthOrNumber",
"generics::length::LengthOrNumber::Number(From::from(8.0))",
engines="gecko",
animation_value_type="LengthOrNumber",
spec="https://drafts.csswg.org/css-text-3/#tab-size-property",
aliases="-moz-tab-size",
)}
${helpers.predefined_type(

View file

@ -235,7 +235,7 @@ impl<LengthPercentage> MaxSize<LengthPercentage> {
}
}
/// A generic `<length>` | `<number>` value for the `-moz-tab-size` property.
/// A generic `<length>` | `<number>` value for the `tab-size` property.
#[derive(
Animate,
Clone,