Index: LayoutTests/imported/web-platform-tests/shadow-dom/shadow-trees/text-decoration-001.html |
diff --git a/LayoutTests/imported/web-platform-tests/shadow-dom/shadow-trees/text-decoration-001.html b/LayoutTests/imported/web-platform-tests/shadow-dom/shadow-trees/text-decoration-001.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..47d5efda0e615c6c2d92dce7af274ddb804dab70 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/shadow-dom/shadow-trees/text-decoration-001.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <meta charset="utf-8" > |
+ <title>Text Decoration Under Line Test</title> |
+ <link rel="match" href="text-decoration-001-ref.html"> |
+ <link rel="author" title="Masaya Iseki" href="mailto:iseki.m.aa@gmail.com"> |
+ <link rel="help" href="https://www.w3.org/TR/shadow-dom/#text-decoration-property"> |
+ <meta name="assert" content="When shadow host has text-decoration, shadow tree is not affected."> |
+ </head> |
+ <body> |
+ <span id="parent" style="text-decoration: underline"> |
+ </span> |
+ <script> |
+ var parent = document.getElementById('parent'); |
+ var shadow = parent.createShadowRoot(); |
+ var child = document.createElement('span'); |
+ child.textContent = "if NOT underlined, it is success."; |
+ shadow.appendChild(child); |
+ </script> |
+ </body> |
+</html> |