diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-04-20 03:55:26 +0200 |
---|---|---|
committer | Oriol Brufau <obrufau@igalia.com> | 2023-04-25 23:01:07 +0200 |
commit | c842023741f300d93ca7389a832309fff0fe19fd (patch) | |
tree | 16bad26063ec1031010a5769928dec210ff18512 | |
parent | e74b5a180cbe366c551cc2eeec5728004d7495e4 (diff) | |
download | servo-c842023741f300d93ca7389a832309fff0fe19fd.tar.gz servo-c842023741f300d93ca7389a832309fff0fe19fd.zip |
Support text-indent in layout-2020
Existing WPT now passing:
- _mozilla/css/text_indent_a.html
- css/CSS2/css1/c71-fwd-parsing-002.xht
- css/CSS2/css1/c71-fwd-parsing-004.xht
- css/CSS2/floats-clear/floats-138.xht
- css/CSS2/text/text-indent-007.xht
- css/CSS2/text/text-indent-008.xht
- css/CSS2/text/text-indent-010.xht
- css/CSS2/text/text-indent-019.xht
- css/CSS2/text/text-indent-020.xht
- css/CSS2/text/text-indent-031.xht
- css/CSS2/text/text-indent-032.xht
- css/CSS2/text/text-indent-043.xht
- css/CSS2/text/text-indent-044.xht
- css/CSS2/text/text-indent-055.xht
- css/CSS2/text/text-indent-056.xht
- css/CSS2/text/text-indent-067.xht
- css/CSS2/text/text-indent-068.xht
- css/CSS2/text/text-indent-079.xht
- css/CSS2/text/text-indent-080.xht
- css/CSS2/text/text-indent-091.xht
- css/CSS2/text/text-indent-092.xht
- css/CSS2/text/text-indent-103.xht
- css/CSS2/text/text-indent-104.xht
- css/CSS2/text/text-indent-112.xht
- css/CSS2/text/text-indent-113.xht
- css/CSS2/text/text-indent-115.xht
- css/CSS2/text/text-indent-applies-to-002.xht
- css/CSS2/text/text-indent-applies-to-003.xht
- css/CSS2/text/text-indent-applies-to-005.xht
- css/CSS2/text/text-indent-applies-to-006.xht
- css/CSS2/text/text-indent-applies-to-007.xht
- css/CSS2/text/text-indent-applies-to-008.xht
- css/CSS2/text/text-indent-applies-to-009.xht
- css/CSS2/text/text-indent-applies-to-010.xht
- css/CSS2/text/text-indent-applies-to-011.xht
- css/CSS2/text/text-indent-applies-to-014.xht
- css/CSS2/text/text-indent-applies-to-015.xht
- css/CSS2/text/text-indent-inherited-001.xht
- css/CSS2/text/text-indent-overflow-001.xht
- css/CSS2/text/text-indent-overflow-002.xht
- css/CSS2/text/text-indent-overflow-003.xht
- css/CSS2/text/text-indent-overflow-004.xht
- css/CSS2/text/text-indent-wrap-001.xht
- css/css-text-decor/text-shadow/textindent.html
- css/css-text/text-indent/text-indent-percentage-001.xht
- css/css-text/text-indent/text-indent-percentage-002.html
- css/css-text/text-indent/text-indent-percentage-003.html
- css/css-text/text-indent/text-indent-percentage-004.html
- css/css-values/minmax-length-percent-serialize.html
- css/css-values/minmax-length-serialize.html
Also improvements in:
- _mozilla/mozilla/calc.html
- css/css-text/animations/text-indent-interpolation.html
- css/css-text/inheritance.html
- css/css-text/parsing/text-indent-computed.html
- css/css-text/parsing/text-indent-valid.html
- css/css-transitions/properties-value-implicit-001.html
- css/css-values/animations/calc-interpolation.html
- css/css-values/minmax-percentage-serialize.html
- css/css-values/viewport-units-css2-001.html
- css/css-variables/variable-substitution-basic.html
- css/cssom/serialize-values.html
Existing WPT now failing, due to lack of direction, outside list markers,
flex and grid:
- css/CSS2/text/text-indent-rtl-001.xht
- css/CSS2/text/text-indent-rtl-002.xht
- css/css-pseudo/marker-content-023.html
- css/css-text/text-indent/anonymous-flex-item-001.html
- css/css-text/text-indent/anonymous-grid-item-001.html
New WPT tests:
- css/css-text/text-indent/text-indent-length-001.html
- css/css-text/text-indent/text-indent-length-002.html
This one fails in layout-2013.
75 files changed, 213 insertions, 805 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs index 5cb1fe51e73..0afb9dfe410 100644 --- a/components/layout_2020/flow/construct.rs +++ b/components/layout_2020/flow/construct.rs @@ -63,6 +63,7 @@ impl BlockFormattingContext { let ifc = InlineFormattingContext { inline_level_boxes, text_decoration_line, + has_first_formatted_line: true, }; let contents = BlockContainer::InlineFormattingContext(ifc); let bfc = Self { @@ -187,7 +188,10 @@ impl BlockContainer { context, info, block_level_boxes: Vec::new(), - ongoing_inline_formatting_context: InlineFormattingContext::new(text_decoration_line), + ongoing_inline_formatting_context: InlineFormattingContext::new( + text_decoration_line, + /* has_first_formatted_line = */ true, + ), ongoing_inline_boxes_stack: Vec::new(), anonymous_style: None, contains_floats: ContainsFloats::No, @@ -690,6 +694,8 @@ where .is_empty() { // There should never be an empty inline formatting context. + self.ongoing_inline_formatting_context + .has_first_formatted_line = false; return; } diff --git a/components/layout_2020/flow/inline.rs b/components/layout_2020/flow/inline.rs index fa79264db5a..d58ddb82498 100644 --- a/components/layout_2020/flow/inline.rs +++ b/components/layout_2020/flow/inline.rs @@ -35,6 +35,9 @@ use webrender_api::FontInstanceKey; pub(crate) struct InlineFormattingContext { pub(super) inline_level_boxes: Vec<ArcRefCell<InlineLevelBox>>, pub(super) text_decoration_line: TextDecorationLine, + // Whether this IFC contains the 1st formatted line of an element + // https://www.w3.org/TR/css-pseudo-4/#first-formatted-line + pub(super) has_first_formatted_line: bool, } #[derive(Debug, Serialize)] @@ -130,10 +133,14 @@ struct Lines { } impl InlineFormattingContext { - pub(super) fn new(text_decoration_line: TextDecorationLine) -> InlineFormattingContext { + pub(super) fn new( + text_decoration_line: TextDecorationLine, + has_first_formatted_line: bool, + ) -> InlineFormattingContext { InlineFormattingContext { inline_level_boxes: Default::default(), text_decoration_line, + has_first_formatted_line, } } @@ -273,7 +280,16 @@ impl InlineFormattingContext { fragments: Vec::new(), next_line_block_position: Length::zero(), }, - inline_position: Length::zero(), + inline_position: if self.has_first_formatted_line { + containing_block + .style + .get_inherited_text() + .text_indent + .to_used_value(containing_block.inline_size.into()) + .into() + } else { + Length::zero() + }, current_nesting_level: InlineNestingLevelState { remaining_boxes: InlineBoxChildIter::from_formatting_context(self), fragments_so_far: Vec::with_capacity(self.inline_level_boxes.len()), diff --git a/components/style/properties/longhands/inherited_text.mako.rs b/components/style/properties/longhands/inherited_text.mako.rs index bb43a0a86de..0ce27e0e18f 100644 --- a/components/style/properties/longhands/inherited_text.mako.rs +++ b/components/style/properties/longhands/inherited_text.mako.rs @@ -65,7 +65,6 @@ ${helpers.predefined_type( "LengthPercentage", "computed::LengthPercentage::zero()", engines="gecko servo-2013 servo-2020", - servo_2020_pref="layout.2020.unimplemented", animation_value_type="ComputedValue", spec="https://drafts.csswg.org/css-text/#propdef-text-indent", allow_quirks="Yes", diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-002.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-002.xht.ini deleted file mode 100644 index b6bfef81cad..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-002.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[c71-fwd-parsing-002.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-004.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-004.xht.ini deleted file mode 100644 index 9488e1b11b2..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/css1/c71-fwd-parsing-004.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[c71-fwd-parsing-004.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats-clear/floats-138.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats-clear/floats-138.xht.ini deleted file mode 100644 index efd8ef0cda8..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/floats-clear/floats-138.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[floats-138.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-007.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-007.xht.ini deleted file mode 100644 index 4763ca6cde9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-007.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-007.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-008.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-008.xht.ini deleted file mode 100644 index 2c0c49a1159..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-008.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-008.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-010.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-010.xht.ini deleted file mode 100644 index 7b08cbb6147..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-010.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-010.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-019.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-019.xht.ini deleted file mode 100644 index 64e27c26054..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-019.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-019.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-020.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-020.xht.ini deleted file mode 100644 index c939563ba14..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-020.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-020.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-031.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-031.xht.ini deleted file mode 100644 index bdc294d9670..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-031.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-031.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-032.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-032.xht.ini deleted file mode 100644 index 7fb96dcdcf2..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-032.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-032.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-043.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-043.xht.ini deleted file mode 100644 index 077e45f38e1..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-043.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-043.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-044.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-044.xht.ini deleted file mode 100644 index 93f80117f2c..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-044.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-044.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-055.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-055.xht.ini deleted file mode 100644 index 1e7ab6c1d49..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-055.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-055.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-056.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-056.xht.ini deleted file mode 100644 index 39cc0f10588..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-056.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-056.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-067.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-067.xht.ini deleted file mode 100644 index 3b542d87896..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-067.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-067.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-068.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-068.xht.ini deleted file mode 100644 index 1b6ed107ce0..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-068.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-068.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-079.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-079.xht.ini deleted file mode 100644 index f4014e9f046..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-079.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-079.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-080.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-080.xht.ini deleted file mode 100644 index b34f26defc4..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-080.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-080.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-091.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-091.xht.ini deleted file mode 100644 index 5489ae1203b..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-091.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-091.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-092.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-092.xht.ini deleted file mode 100644 index a1810df685a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-092.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-092.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-103.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-103.xht.ini deleted file mode 100644 index 1dfe923d371..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-103.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-103.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-104.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-104.xht.ini deleted file mode 100644 index 7c7575b3fe3..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-104.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-104.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-112.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-112.xht.ini deleted file mode 100644 index ce813806a01..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-112.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-112.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-113.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-113.xht.ini deleted file mode 100644 index d1b8d447fd9..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-113.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-113.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-115.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-115.xht.ini deleted file mode 100644 index 135374f54ae..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-115.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-115.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-002.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-002.xht.ini deleted file mode 100644 index ec58e4a7c66..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-002.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-002.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-003.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-003.xht.ini deleted file mode 100644 index e5e48e9d9ee..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-003.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-003.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-005.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-005.xht.ini deleted file mode 100644 index b358a50b13a..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-005.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-005.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-006.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-006.xht.ini deleted file mode 100644 index 6e0f4b3ad9d..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-006.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-006.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-007.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-007.xht.ini deleted file mode 100644 index 09cc1600247..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-007.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-007.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-008.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-008.xht.ini deleted file mode 100644 index 782cb9afa75..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-008.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-008.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-009.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-009.xht.ini deleted file mode 100644 index d88c3d50c96..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-009.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-009.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-010.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-010.xht.ini deleted file mode 100644 index c3ac79813a2..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-010.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-010.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-011.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-011.xht.ini deleted file mode 100644 index 38df823dbb6..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-011.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-011.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-014.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-014.xht.ini deleted file mode 100644 index cbc5da1e9ab..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-014.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-014.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-015.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-015.xht.ini deleted file mode 100644 index 2dcd790e658..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-applies-to-015.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-applies-to-015.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-inherited-001.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-inherited-001.xht.ini deleted file mode 100644 index 5ca0c554e67..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-inherited-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-inherited-001.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-001.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-001.xht.ini deleted file mode 100644 index 9ec19e00630..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-overflow-001.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-002.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-002.xht.ini deleted file mode 100644 index bef61d3cc6f..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-002.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-overflow-002.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-003.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-003.xht.ini deleted file mode 100644 index 034951b53d4..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-003.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-overflow-003.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-004.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-004.xht.ini deleted file mode 100644 index fc33ffd495e..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-overflow-004.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-overflow-004.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-001.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-001.xht.ini new file mode 100644 index 00000000000..47787874bbc --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-001.xht.ini @@ -0,0 +1,2 @@ +[text-indent-rtl-001.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-002.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-002.xht.ini new file mode 100644 index 00000000000..f381bcecfb2 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-rtl-002.xht.ini @@ -0,0 +1,2 @@ +[text-indent-rtl-002.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-wrap-001.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-wrap-001.xht.ini deleted file mode 100644 index 5cdcdc539a5..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/text/text-indent-wrap-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-wrap-001.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-pseudo/marker-content-023.html.ini b/tests/wpt/metadata-layout-2020/css/css-pseudo/marker-content-023.html.ini new file mode 100644 index 00000000000..4dc81a24e18 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-pseudo/marker-content-023.html.ini @@ -0,0 +1,2 @@ +[marker-content-023.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-shadow/textindent.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-shadow/textindent.html.ini deleted file mode 100644 index c33dd3eef10..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-shadow/textindent.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[textindent.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/animations/text-indent-interpolation.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/animations/text-indent-interpolation.html.ini index 67b2bc5f50c..d96387bafdf 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text/animations/text-indent-interpolation.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text/animations/text-indent-interpolation.html.ini @@ -1,58 +1,4 @@ [text-indent-interpolation.html] - [CSS Transitions: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from neutral to [40px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from neutral to [40px\] at (1) should be [40px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (1) should be [40px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (0) should be [10px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (0.3) should be [19px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (0.6) should be [28px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (1) should be [40px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]] - expected: FAIL - [Web Animations: property <text-indent> from neutral to [40px\] at (-0.3) should be [1px\]] expected: FAIL @@ -71,60 +17,6 @@ [Web Animations: property <text-indent> from neutral to [40px\] at (1.5) should be [55px\]] expected: FAIL - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (0) should be [0px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (0.3) should be [6px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (0.6) should be [12px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]] - expected: FAIL - [Web Animations: property <text-indent> from [initial\] to [20px\] at (-0.3) should be [-6px\]] expected: FAIL @@ -143,60 +35,6 @@ [Web Animations: property <text-indent> from [initial\] to [20px\] at (1.5) should be [30px\]] expected: FAIL - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - [Web Animations: property <text-indent> from [inherit\] to [20px\] at (-0.3) should be [85px\]] expected: FAIL @@ -215,60 +53,6 @@ [Web Animations: property <text-indent> from [inherit\] to [20px\] at (1.5) should be [-5px\]] expected: FAIL - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (0) should be [70px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (0.3) should be [55px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (0.6) should be [40px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (1) should be [20px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]] - expected: FAIL - [Web Animations: property <text-indent> from [unset\] to [20px\] at (-0.3) should be [85px\]] expected: FAIL @@ -287,60 +71,6 @@ [Web Animations: property <text-indent> from [unset\] to [20px\] at (1.5) should be [-5px\]] expected: FAIL - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (0) should be [0\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (0.3) should be [15px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (0.6) should be [30px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (1) should be [50px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0px\] to [50px\] at (1.5) should be [75px\]] - expected: FAIL - [Web Animations: property <text-indent> from [0px\] to [50px\] at (-0.3) should be [-15px\]] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/inheritance.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/inheritance.html.ini index 157898c94a4..571b4929047 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text/inheritance.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text/inheritance.html.ini @@ -50,12 +50,6 @@ [Property overflow-wrap inherits] expected: FAIL - [Property text-indent has initial value 0px] - expected: FAIL - - [Property text-indent inherits] - expected: FAIL - [Property text-justify has initial value auto] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-computed.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-computed.html.ini index b1966953d82..d1653432b3f 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-computed.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-computed.html.ini @@ -1,22 +1,4 @@ [text-indent-computed.html] - [Property text-indent value '10px'] - expected: FAIL - - [Property text-indent value '20%'] - expected: FAIL - - [Property text-indent value 'calc(50% + 60px)'] - expected: FAIL - - [Property text-indent value '-30px'] - expected: FAIL - - [Property text-indent value '-40%'] - expected: FAIL - - [Property text-indent value 'calc(10px - 0.5em)'] - expected: FAIL - [Property text-indent value '10px hanging'] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-valid.html.ini index 298630f5d87..21d6ea4d0f8 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-valid.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text/parsing/text-indent-valid.html.ini @@ -1,22 +1,4 @@ [text-indent-valid.html] - [e.style['text-indent'\] = "10px" should set the property value] - expected: FAIL - - [e.style['text-indent'\] = "20%" should set the property value] - expected: FAIL - - [e.style['text-indent'\] = "calc(2em + 3ex)" should set the property value] - expected: FAIL - - [e.style['text-indent'\] = "calc(50% + 60px)" should set the property value] - expected: FAIL - - [e.style['text-indent'\] = "-30px" should set the property value] - expected: FAIL - - [e.style['text-indent'\] = "-40%" should set the property value] - expected: FAIL - [e.style['text-indent'\] = "10px hanging" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-flex-item-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-flex-item-001.html.ini new file mode 100644 index 00000000000..b22638a8537 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-flex-item-001.html.ini @@ -0,0 +1,2 @@ +[anonymous-flex-item-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-grid-item-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-grid-item-001.html.ini new file mode 100644 index 00000000000..e3a33ce7895 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/anonymous-grid-item-001.html.ini @@ -0,0 +1,2 @@ +[anonymous-grid-item-001.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-001.xht.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-001.xht.ini deleted file mode 100644 index 360cd9ec203..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-percentage-001.xht] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-002.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-002.html.ini deleted file mode 100644 index 6969edd1978..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-002.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-percentage-002.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-003.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-003.html.ini deleted file mode 100644 index 7eaed789bf6..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-003.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-percentage-003.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-004.html.ini b/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-004.html.ini deleted file mode 100644 index 3bf7fa2a1f1..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text/text-indent/text-indent-percentage-004.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-indent-percentage-004.html] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini index 8388ba9b1b0..fd2fc3fe626 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini @@ -8,9 +8,6 @@ [text-indent length-em(em) / values] expected: FAIL - [text-indent length-em(em) / events] - expected: FAIL - [outline-offset length-em(em) / values] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-values/animations/calc-interpolation.html.ini b/tests/wpt/metadata-layout-2020/css/css-values/animations/calc-interpolation.html.ini index 5a897c8f6d4..72376ce87e7 100644 --- a/tests/wpt/metadata-layout-2020/css/css-values/animations/calc-interpolation.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-values/animations/calc-interpolation.html.ini @@ -307,192 +307,3 @@ [Web Animations: property <left> from [0px\] to [calc(infinity * 1px)\] at (1.25) should be [NaNpx\]] expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0) should be [calc(50% - 25px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1) should be [calc(100% - 10px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [calc(50% - 25px)\] to [calc(100% - 10px)\] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (-0.25) should be [-25px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (0) should be [0em\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.25) should be [25px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.5) should be [50px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (0.75) should be [75px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (1) should be [100px\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0em\] to [100px\] at (1.25) should be [125px\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]] - expected: FAIL - - [CSS Transitions: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]] - expected: FAIL - - [CSS Transitions with transition: all: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (-0.25) should be [calc(0% + -25px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (0) should be [0%\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.25) should be [calc(0% + 25px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.5) should be [calc(0% + 50px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (0.75) should be [calc(0% + 75px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (1) should be [calc(0% + 100px)\]] - expected: FAIL - - [CSS Animations: property <text-indent> from [0%\] to [100px\] at (1.25) should be [calc(0% + 125px)\]] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-percent-serialize.html.ini b/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-percent-serialize.html.ini deleted file mode 100644 index 5075a8ec647..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-percent-serialize.html.ini +++ /dev/null @@ -1,84 +0,0 @@ -[minmax-length-percent-serialize.html] - ['min(1px)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['min(1px)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['max(1px)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['max(1px)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['min(1% + 1px)' as a specified value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['min(1% + 1px)' as a computed value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['min(1px + 1%)' as a specified value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['min(1px + 1%)' as a computed value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['max(1px + 1%)' as a specified value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['max(1px + 1%)' as a computed value should serialize as 'calc(1% + 1px)'.] - expected: FAIL - - ['min(1px, 2px)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['min(1px, 2px)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['min(20px, 10%)' as a computed value should serialize as 'min(20px, 10%)'.] - expected: FAIL - - ['min(1em, 10%)' as a computed value should serialize as 'min(16px, 10%)'.] - expected: FAIL - - ['min(10%, 20px)' as a computed value should serialize as 'min(10%, 20px)'.] - expected: FAIL - - ['min(10%, 1em)' as a computed value should serialize as 'min(10%, 16px)'.] - expected: FAIL - - ['max(20px, 10%)' as a computed value should serialize as 'max(20px, 10%)'.] - expected: FAIL - - ['max(1em, 10%)' as a computed value should serialize as 'max(16px, 10%)'.] - expected: FAIL - - ['max(10%, 20px)' as a computed value should serialize as 'max(10%, 20px)'.] - expected: FAIL - - ['max(10%, 1em)' as a computed value should serialize as 'max(10%, 16px)'.] - expected: FAIL - - ['min(10% + 30px, 5em + 5%)' as a specified value should serialize as 'min(10% + 30px, 5% + 5em)'.] - expected: FAIL - - ['min(10% + 30px, 5em + 5%)' as a computed value should serialize as 'min(10% + 30px, 5% + 80px)'.] - expected: FAIL - - ['max(10% + 30px, 5em + 5%)' as a specified value should serialize as 'max(10% + 30px, 5% + 5em)'.] - expected: FAIL - - ['max(10% + 30px, 5em + 5%)' as a computed value should serialize as 'max(10% + 30px, 5% + 80px)'.] - expected: FAIL - - ['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a specified value should serialize as 'calc(30% + 1em + 21px)'.] - expected: FAIL - - ['calc(min(10% + 1px) + max(1em + 10%) + min(10% + 20px))' as a computed value should serialize as 'calc(30% + 37px)'.] - expected: FAIL - - ['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a specified value should serialize as 'calc(25% + 2em + 30px)'.] - expected: FAIL - - ['calc(1em + max(10% + 20px) + 5% + min(1em + 10%) + 10px)' as a computed value should serialize as 'calc(25% + 62px)'.] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-serialize.html.ini b/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-serialize.html.ini deleted file mode 100644 index 307cdc492b5..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-values/minmax-length-serialize.html.ini +++ /dev/null @@ -1,63 +0,0 @@ -[minmax-length-serialize.html] - ['min(1px)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['min(1px)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['min(1in)' as a specified value should serialize as 'calc(96px)'.] - expected: FAIL - - ['min(1in)' as a computed value should serialize as '96px'.] - expected: FAIL - - ['max(1px)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['max(1px)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['max(1in)' as a specified value should serialize as 'calc(96px)'.] - expected: FAIL - - ['max(1in)' as a computed value should serialize as '96px'.] - expected: FAIL - - ['min(1PX)' as a specified value should serialize as 'calc(1px)'.] - expected: FAIL - - ['min(1PX)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['min(50px, 1in + 1px)' as a specified value should serialize as 'calc(50px)'.] - expected: FAIL - - ['min(50px, 1in + 1px)' as a computed value should serialize as '50px'.] - expected: FAIL - - ['max(50px, 1in + 1px)' as a specified value should serialize as 'calc(97px)'.] - expected: FAIL - - ['max(50px, 1in + 1px)' as a computed value should serialize as '97px'.] - expected: FAIL - - ['calc(1px + min(1in, 100px))' as a specified value should serialize as 'calc(97px)'.] - expected: FAIL - - ['calc(1px + min(1in, 100px))' as a computed value should serialize as '97px'.] - expected: FAIL - - ['calc(1px + max(1in, 100px))' as a specified value should serialize as 'calc(101px)'.] - expected: FAIL - - ['calc(1px + max(1in, 100px))' as a computed value should serialize as '101px'.] - expected: FAIL - - ['min(1px, 1em)' as a computed value should serialize as '1px'.] - expected: FAIL - - ['calc(min(1px, 1in) + max(100px + 1em, 10px + 1in) + 1px)' as a specified value should serialize as 'calc(2px + max(1em + 100px, 106px))'.] - expected: FAIL - - ['calc(min(1px, 1in) + max(100px + 1em, 10px + 1in) + 1px)' as a computed value should serialize as '118px'.] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-values/minmax-percentage-serialize.html.ini b/tests/wpt/metadata-layout-2020/css/css-values/minmax-percentage-serialize.html.ini index 4250549a441..b291291efc4 100644 --- a/tests/wpt/metadata-layout-2020/css/css-values/minmax-percentage-serialize.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-values/minmax-percentage-serialize.html.ini @@ -1,36 +1,36 @@ [minmax-percentage-serialize.html] - ['min(1%, 2%, 3%)' as a computed value should serialize as 'min(1%, 2%, 3%)'.] + ['min(1%, 2%, 3%)' as a specified value should serialize as 'min(1%, 2%, 3%)'.] expected: FAIL - ['min(3%, 2%, 1%)' as a computed value should serialize as 'min(3%, 2%, 1%)'.] + ['min(1%, 2%, 3%)' as a computed value should serialize as 'min(1%, 2%, 3%)'.] expected: FAIL - ['max(1%, 2%, 3%)' as a computed value should serialize as 'max(1%, 2%, 3%)'.] + ['min(3%, 2%, 1%)' as a specified value should serialize as 'min(3%, 2%, 1%)'.] expected: FAIL - ['max(3%, 2%, 1%)' as a computed value should serialize as 'max(3%, 2%, 1%)'.] + ['min(3%, 2%, 1%)' as a computed value should serialize as 'min(3%, 2%, 1%)'.] expected: FAIL - ['min(1%, 2%, 3%) 0px' as a specified value should serialize as 'min(1%, 2%, 3%) 0px'.] + ['max(1%, 2%, 3%)' as a specified value should serialize as 'max(1%, 2%, 3%)'.] expected: FAIL - ['min(1%, 2%, 3%) 0px' as a computed value should serialize as 'min(1%, 2%, 3%) 0px'.] + ['max(1%, 2%, 3%)' as a computed value should serialize as 'max(1%, 2%, 3%)'.] expected: FAIL - ['calc(min(1%, 2%) + max(3%, 4%) + 10%)' as a specified value should serialize as 'calc(10% + min(1%, 2%) + max(3%, 4%))'.] + ['max(3%, 2%, 1%)' as a specified value should serialize as 'max(3%, 2%, 1%)'.] expected: FAIL - ['calc(min(1%, 2%) + max(3%, 4%) + 10%)' as a computed value should serialize as 'calc(10% + min(1%, 2%) + max(3%, 4%))'.] + ['max(3%, 2%, 1%)' as a computed value should serialize as 'max(3%, 2%, 1%)'.] expected: FAIL - ['min(1%)' as a specified value should serialize as 'calc(1%)'.] + ['min(1%, 2%, 3%) 0px' as a specified value should serialize as 'min(1%, 2%, 3%) 0px'.] expected: FAIL - ['min(1%)' as a computed value should serialize as '1%'.] + ['min(1%, 2%, 3%) 0px' as a computed value should serialize as 'min(1%, 2%, 3%) 0px'.] expected: FAIL - ['max(1%)' as a specified value should serialize as 'calc(1%)'.] + ['calc(min(1%, 2%) + max(3%, 4%) + 10%)' as a specified value should serialize as 'calc(10% + min(1%, 2%) + max(3%, 4%))'.] expected: FAIL - ['max(1%)' as a computed value should serialize as '1%'.] + ['calc(min(1%, 2%) + max(3%, 4%) + 10%)' as a computed value should serialize as 'calc(10% + min(1%, 2%) + max(3%, 4%))'.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-values/viewport-units-css2-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-values/viewport-units-css2-001.html.ini index 344c277bdc4..bb32bd0e315 100644 --- a/tests/wpt/metadata-layout-2020/css/css-values/viewport-units-css2-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-values/viewport-units-css2-001.html.ini @@ -8,12 +8,6 @@ [vw length applied to top] expected: FAIL - [vw length applied to text-indent] - expected: FAIL - - [vw length applied to text-indent: getComputedStyle returns a non-zero px-based value] - expected: FAIL - [vw length applied to vertical-align] expected: FAIL @@ -77,9 +71,6 @@ [vh length applied to text-indent] expected: FAIL - [vh length applied to text-indent: getComputedStyle returns a non-zero px-based value] - expected: FAIL - [vh length applied to vertical-align] expected: FAIL @@ -146,9 +137,6 @@ [vmin length applied to text-indent] expected: FAIL - [vmin length applied to text-indent: getComputedStyle returns a non-zero px-based value] - expected: FAIL - [vmin length applied to vertical-align] expected: FAIL @@ -167,12 +155,6 @@ [vmax length applied to top] expected: FAIL - [vmax length applied to text-indent] - expected: FAIL - - [vmax length applied to text-indent: getComputedStyle returns a non-zero px-based value] - expected: FAIL - [vmax length applied to vertical-align] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-variables/variable-substitution-basic.html.ini b/tests/wpt/metadata-layout-2020/css/css-variables/variable-substitution-basic.html.ini index 46ea38e23ce..ae7b4cc72ff 100644 --- a/tests/wpt/metadata-layout-2020/css/css-variables/variable-substitution-basic.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-variables/variable-substitution-basic.html.ini @@ -5,9 +5,6 @@ [You can't build up a single token where part of it is provided by a variable] expected: FAIL - [You can't build up a single token where part of it is provided by a variable (percentages)] - expected: FAIL - [Multiple variable references in a single property] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini b/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini index 84d40261246..d3a96233ba2 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom/serialize-values.html.ini @@ -350,24 +350,6 @@ [text-align: justify] expected: FAIL - [text-indent: 0px] - expected: FAIL - - [text-indent: 1px] - expected: FAIL - - [text-indent: .1em] - expected: FAIL - - [text-indent: 5%] - expected: FAIL - - [text-indent: .5%] - expected: FAIL - - [text-indent: inherit] - expected: FAIL - [text-transform: capitalize] expected: FAIL diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 7b0df22f283..216c1324769 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -240068,6 +240068,32 @@ {} ] ], + "text-indent-length-001.html": [ + "49fe68733a01543a82299ca407d21d70aec4f80d", + [ + null, + [ + [ + "/css/css-text/text-indent/reference/text-indent-length-001-ref.html", + "==" + ] + ], + {} + ] + ], + "text-indent-length-002.html": [ + "efb9d7e3d4db1e945c5a78f0bf8718b75a914f40", + [ + null, + [ + [ + "/css/css-text/text-indent/reference/text-indent-length-002-ref.html", + "==" + ] + ], + {} + ] + ], "text-indent-percentage-001.xht": [ "6da26308b266e6d1574d78238f9d12cf5a404b25", [ @@ -397067,6 +397093,14 @@ "3357d7d8f5fb766b613b092839f331f3654053b0", [] ], + "text-indent-length-001-ref.html": [ + "3d3df4e031bc4f866ea37df80303c5d9d0551a19", + [] + ], + "text-indent-length-002-ref.html": [ + "9f8158a91201d9c98d2d4f20b6faadeacfe976e4", + [] + ], "text-indent-percentage-001-ref.xht": [ "5b065d1db7ac1e399668e8588727be09922bf62b", [] diff --git a/tests/wpt/metadata/css/css-text/text-indent/text-indent-length-002.html.ini b/tests/wpt/metadata/css/css-text/text-indent/text-indent-length-002.html.ini new file mode 100644 index 00000000000..c7fb5c27c8a --- /dev/null +++ b/tests/wpt/metadata/css/css-text/text-indent/text-indent-length-002.html.ini @@ -0,0 +1,2 @@ +[text-indent-length-002.html] + expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/text_indent_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/text_indent_a.html.ini deleted file mode 100644 index f114b990e67..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/text_indent_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_indent_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini b/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini index dcf5b8ef516..d50579846a4 100644 --- a/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini +++ b/tests/wpt/mozilla/meta-layout-2020/mozilla/calc.html.ini @@ -8,9 +8,6 @@ [calc for outline-width] expected: FAIL - [calc for text-indent] - expected: FAIL - [calc for counter-increment] expected: FAIL diff --git a/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-001-ref.html new file mode 100644 index 00000000000..3d3df4e031b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-001-ref.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test reference</title> +<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> +<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> +<style> +pre { + font: 10px/1 Ahem; + margin: 0; +} +</style> +<pre> +XX XXX + XX X + XXX + + XX XXX + XX X + XXX + + XX XXX + XX X + XXX + + XX + XXX XX + X XXX + + XX + XXX XX + X XXX + + XX + XXX XX + X XXX +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-002-ref.html b/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-002-ref.html new file mode 100644 index 00000000000..9f8158a9120 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-indent/reference/text-indent-length-002-ref.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test reference</title> +<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> +<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> +<style> +pre { + font: 10px/1 Ahem; + margin: 0; +} +</style> +<pre> + X +X + + X +X + + X + X + X + + X +X + X +X + X + + X + X +X + X +X +</div> diff --git a/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-001.html b/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-001.html new file mode 100644 index 00000000000..49fe68733a0 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-001.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test: text-indent length</title> +<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"> +<link rel="match" href="reference/text-indent-length-001-ref.html"> +<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> +<style> +article { + font: 10px/1 Ahem; + width: 60px; + margin-left: 20px; + margin-bottom: 10px; +} +</style> +<article style="text-indent: -20px">XX XXX XX X XXX</article> +<article style="text-indent: -10px">XX XXX XX X XXX</article> +<article style="text-indent: 0px">XX XXX XX X XXX</article> +<article style="text-indent: 10px">XX XXX XX X XXX</article> +<article style="text-indent: 30px">XX XXX XX X XXX</article> +<article style="text-indent: 60px">XX XXX XX X XXX</article> diff --git a/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-002.html b/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-002.html new file mode 100644 index 00000000000..efb9d7e3d4d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/text-indent/text-indent-length-002.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Text Test: text-indent length</title> +<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> +<link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"> +<link rel="match" href="reference/text-indent-length-002-ref.html"> +<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> +<style> +article { + font: 10px/1 Ahem; + margin-bottom: 10px; + text-indent: 10px; +} +</style> +<article> + X<br>X +</article> +<article> + X<span style="white-space:pre"> </span>X +</article> +<article> + <div>X</div> + <div>X</div> + <div>X</div> +</article> +<article> + <div>X</div> + X + <div>X</div> + X + <div>X</div> +</article> +<article> + X + <div>X</div> + X + <div>X</div> + X +</article> |