mirror of
https://github.com/servo/servo.git
synced 2025-06-22 08:08:59 +01:00
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:
parent
4353d31cb0
commit
f0a178b56a
4 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,6 @@ COUNTED_UNKNOWN_PROPERTIES = [
|
||||||
"-webkit-user-modify",
|
"-webkit-user-modify",
|
||||||
"-webkit-margin-before",
|
"-webkit-margin-before",
|
||||||
"-webkit-margin-after",
|
"-webkit-margin-after",
|
||||||
"tab-size",
|
|
||||||
"-webkit-margin-start",
|
"-webkit-margin-start",
|
||||||
"-webkit-column-break-inside",
|
"-webkit-column-break-inside",
|
||||||
"-webkit-padding-start",
|
"-webkit-padding-start",
|
||||||
|
|
|
@ -759,7 +759,7 @@ def _add_logical_props(data, props):
|
||||||
# These are probably Gecko bugs and should be supported per spec.
|
# These are probably Gecko bugs and should be supported per spec.
|
||||||
def _remove_common_first_line_and_first_letter_properties(props, engine):
|
def _remove_common_first_line_and_first_letter_properties(props, engine):
|
||||||
if engine == "gecko":
|
if engine == "gecko":
|
||||||
props.remove("-moz-tab-size")
|
props.remove("tab-size")
|
||||||
props.remove("hyphens")
|
props.remove("hyphens")
|
||||||
props.remove("line-break")
|
props.remove("line-break")
|
||||||
props.remove("text-align-last")
|
props.remove("text-align-last")
|
||||||
|
|
|
@ -238,12 +238,13 @@ ${helpers.predefined_type(
|
||||||
)}
|
)}
|
||||||
|
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
"-moz-tab-size",
|
"tab-size",
|
||||||
"NonNegativeLengthOrNumber",
|
"NonNegativeLengthOrNumber",
|
||||||
"generics::length::LengthOrNumber::Number(From::from(8.0))",
|
"generics::length::LengthOrNumber::Number(From::from(8.0))",
|
||||||
engines="gecko",
|
engines="gecko",
|
||||||
animation_value_type="LengthOrNumber",
|
animation_value_type="LengthOrNumber",
|
||||||
spec="https://drafts.csswg.org/css-text-3/#tab-size-property",
|
spec="https://drafts.csswg.org/css-text-3/#tab-size-property",
|
||||||
|
aliases="-moz-tab-size",
|
||||||
)}
|
)}
|
||||||
|
|
||||||
${helpers.predefined_type(
|
${helpers.predefined_type(
|
||||||
|
|
|
@ -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(
|
#[derive(
|
||||||
Animate,
|
Animate,
|
||||||
Clone,
|
Clone,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue