summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html')
-rw-r--r--testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html b/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html
new file mode 100644
index 0000000000..c0aabdfde2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-non-inherit.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Test case for text-decoration-thickness inheritance</title>
+ <meta name="assert" content="text-decoration-thickness: should not be inherited">
+ <link rel="author" title="Joonghun Park" href="mailto:pjh0718@gmail.com">
+ <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-thickness-property">
+ <link rel="match" href="reference/text-decoration-thickness-non-inherit-ref.html">
+ <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
+ <style>
+ p { text-decoration-thickness: 20px; }
+ span { text-decoration-line: underline; text-decoration-color: black; }
+ </style>
+</head>
+<body>
+ <p><span>Test passes if this text decoration underline is not 20px thick.</span></p>
+</body>
+</html>