Skip to content

Commit 3287f6e

Browse files
authored
WebKit export: Remove outdated getComputedStyle tests for text-decoration (#53802)
https://bugs.webkit.org/show_bug.cgi?id=296112
1 parent 04679b7 commit 3287f6e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

css/css-text-decor/parsing/text-decoration-computed.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030

3131
test_computed_value("text-decoration", "underline dashed rgb(0, 255, 0)");
3232

33+
// Test backwards compatibility of blink.
34+
test_computed_value("text-decoration", "underline overline line-through blink", ["underline overline line-through", "underline overline line-through blink"]);
35+
test_computed_value("text-decoration", "underline overline line-through blink red", ["underline overline line-through rgb(255, 0, 0)", "underline overline line-through blink rgb(255, 0, 0)"]);
36+
3337
// Add text-decoration-thickness in [css-text-decor-4].
3438
test_computed_value("text-decoration", "auto", currentColor);
3539
test_computed_value("text-decoration", "from-font", "from-font " + currentColor);

css/css-text-decor/parsing/text-decoration-valid.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
test_valid_value("text-decoration", "double overline underline", "underline overline double");
2020
test_valid_value("text-decoration", "underline overline line-through red");
21+
test_valid_value("text-decoration", "underline overline line-through blink", ["underline overline line-through", "underline overline line-through blink"]);
22+
test_valid_value("text-decoration", "underline overline line-through blink red", ["underline overline line-through rgb(255, 0, 0)", "underline overline line-through blink rgb(255, 0, 0)"]);
2123
test_valid_value("text-decoration", "rgba(10, 20, 30, 0.4) dotted", "dotted rgba(10, 20, 30, 0.4)");
2224
test_valid_value("text-decoration", "overline green from-font", "overline from-font green");
2325
test_valid_value("text-decoration", "underline dashed green");

0 commit comments

Comments
 (0)