From eea7eb4e4f54b62878c3b7ce12095bb569762561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Fri, 13 Mar 2020 21:34:11 +0100 Subject: [PATCH] Update test expectations with text-decoration support --- .../generated-content/content-070.xht.ini | 2 + .../generated-content/content-082.xht.ini | 2 + .../text-decoration-color-valid.html.ini | 10 - .../text-decoration-line-valid.html.ini | 195 ------------------ .../text-decoration-style-valid.html.ini | 16 -- .../parsing/text-decoration-valid.html.ini | 6 - ...on-underline-position-vertical-ja.html.ini | 2 + ...ation-underline-position-vertical.html.ini | 2 + .../text-emphasis-style-none-001.xht.ini | 2 - .../css/text_decoration_smoke_a.html.ini | 2 - ...text_decoration_underline_subpx_a.html.ini | 2 - .../mozilla/localeCompare.html.ini | 3 - 12 files changed, 8 insertions(+), 236 deletions(-) create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-070.xht.ini create mode 100644 tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-082.xht.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-color-valid.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-style-valid.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical-ja.html.ini create mode 100644 tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical.html.ini delete mode 100644 tests/wpt/metadata-layout-2020/css/css-text-decor/text-emphasis-style-none-001.xht.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/css/text_decoration_smoke_a.html.ini delete mode 100644 tests/wpt/mozilla/meta-layout-2020/css/text_decoration_underline_subpx_a.html.ini diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-070.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-070.xht.ini new file mode 100644 index 00000000000..397ef880c7e --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-070.xht.ini @@ -0,0 +1,2 @@ +[content-070.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-082.xht.ini b/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-082.xht.ini new file mode 100644 index 00000000000..b7fe80a3612 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/generated-content/content-082.xht.ini @@ -0,0 +1,2 @@ +[content-082.xht] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-color-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-color-valid.html.ini deleted file mode 100644 index 030a804ef83..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-color-valid.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[text-decoration-color-valid.html] - [e.style['text-decoration-color'\] = "currentcolor" should set the property value] - expected: FAIL - - [e.style['text-decoration-color'\] = "red" should set the property value] - expected: FAIL - - [e.style['text-decoration-color'\] = "rgba(10, 20, 30, 0.4)" should set the property value] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-line-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-line-valid.html.ini index 3b22624996d..bb50604b3df 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-line-valid.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-line-valid.html.ini @@ -1,202 +1,7 @@ [text-decoration-line-valid.html] - [e.style['text-decoration-line'\] = "underline overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through blink underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline blink underline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline blink line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through overline underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink line-through underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline underline line-through blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink underline overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through blink underline overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline blink line-through overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through underline overline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through blink overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink underline overline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline line-through blink underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline line-through blink overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline underline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through overline blink underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline line-through overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through blink overline underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink overline underline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline blink overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through underline blink overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline overline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline blink line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline overline blink line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline line-through overline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline line-through blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through overline underline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline underline blink line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline line-through blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline line-through underline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink overline underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through underline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline blink underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through underline overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink line-through underline overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline line-through underline" should set the property value] - expected: FAIL - [e.style['text-decoration-line'\] = "spelling-error" should set the property value] expected: FAIL - [e.style['text-decoration-line'\] = "blink overline line-through underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink line-through overline underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline overline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "none" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline blink line-through underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink overline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline blink overline line-through" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink underline line-through" should set the property value] - expected: FAIL - [e.style['text-decoration-line'\] = "grammar-error" should set the property value] expected: FAIL - [e.style['text-decoration-line'\] = "underline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "overline underline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink underline line-through overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "line-through overline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "blink line-through overline" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline blink" should set the property value] - expected: FAIL - - [e.style['text-decoration-line'\] = "underline overline line-through blink" should set the property value] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-style-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-style-valid.html.ini deleted file mode 100644 index d9e928983c7..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-style-valid.html.ini +++ /dev/null @@ -1,16 +0,0 @@ -[text-decoration-style-valid.html] - [e.style['text-decoration-style'\] = "wavy" should set the property value] - expected: FAIL - - [e.style['text-decoration-style'\] = "dashed" should set the property value] - expected: FAIL - - [e.style['text-decoration-style'\] = "solid" should set the property value] - expected: FAIL - - [e.style['text-decoration-style'\] = "dotted" should set the property value] - expected: FAIL - - [e.style['text-decoration-style'\] = "double" should set the property value] - expected: FAIL - diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-valid.html.ini index 5e22f329f4c..68e08cee990 100644 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-valid.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-text-decor/parsing/text-decoration-valid.html.ini @@ -2,9 +2,6 @@ [e.style['text-decoration'\] = "underline auto" should set the property value] expected: FAIL - [e.style['text-decoration'\] = "none" should set the property value] - expected: FAIL - [e.style['text-decoration'\] = "auto" should set the property value] expected: FAIL @@ -17,9 +14,6 @@ [e.style['text-decoration'\] = "double overline underline" should set the property value] expected: FAIL - [e.style['text-decoration'\] = "line-through" should set the property value] - expected: FAIL - [e.style['text-decoration'\] = "rgba(10, 20, 30, 0.4) dotted" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical-ja.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical-ja.html.ini new file mode 100644 index 00000000000..2c69ffca92c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical-ja.html.ini @@ -0,0 +1,2 @@ +[text-decoration-underline-position-vertical-ja.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical.html.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical.html.ini new file mode 100644 index 00000000000..cfdff6ecde1 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-decoration-underline-position-vertical.html.ini @@ -0,0 +1,2 @@ +[text-decoration-underline-position-vertical.html] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-emphasis-style-none-001.xht.ini b/tests/wpt/metadata-layout-2020/css/css-text-decor/text-emphasis-style-none-001.xht.ini deleted file mode 100644 index c6d3f7a8a5c..00000000000 --- a/tests/wpt/metadata-layout-2020/css/css-text-decor/text-emphasis-style-none-001.xht.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text-emphasis-style-none-001.xht] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_smoke_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_smoke_a.html.ini deleted file mode 100644 index bb5acb7b6b6..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_smoke_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_decoration_smoke_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_underline_subpx_a.html.ini b/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_underline_subpx_a.html.ini deleted file mode 100644 index 194f21cfa26..00000000000 --- a/tests/wpt/mozilla/meta-layout-2020/css/text_decoration_underline_subpx_a.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[text_decoration_underline_subpx_a.html] - expected: FAIL diff --git a/tests/wpt/mozilla/meta-layout-2020/mozilla/localeCompare.html.ini b/tests/wpt/mozilla/meta-layout-2020/mozilla/localeCompare.html.ini index 8bb28daf16c..3fe82b2eb0b 100644 --- a/tests/wpt/mozilla/meta-layout-2020/mozilla/localeCompare.html.ini +++ b/tests/wpt/mozilla/meta-layout-2020/mozilla/localeCompare.html.ini @@ -1,5 +1,2 @@ [localeCompare.html] bug: https://github.com/servo/servo/issues/25802 - [localeCompare should return the same as other browsers, even though it's implementation-dependent] - expected: FAIL -