Test that text-decoration-skip: ink inherits as expected
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jan 2014 19:37:22 +0000 (19:37 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jan 2014 19:37:22 +0000 (19:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=127329

Reviewed by Dean Jackson.

Adding a test for text-decoration-skip: ink inheriting

* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html: Added.
* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@162455 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html [new file with mode: 0644]
LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html [new file with mode: 0644]

index ab5765e3f901305aa8c1f1aaaa83bf52568b122a..90eaf7f18110f4cee26dfff2472ada4d276cdf52 100644 (file)
@@ -1,3 +1,15 @@
+2014-01-20  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Test that text-decoration-skip: ink inherits as expected
+        https://bugs.webkit.org/show_bug.cgi?id=127329
+
+        Reviewed by Dean Jackson.
+
+        Adding a test for text-decoration-skip: ink inheriting
+
+        * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html: Added.
+        * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html: Added.
+
 2014-01-21  Eric Carlson  <eric.carlson@apple.com>
 
         Add &lrm; &rlm; and &nbsp; to WebVTT parser
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit-expected.html
new file mode 100644 (file)
index 0000000..82ebcba
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+<p>
+This test makes sure that text-decoration-skip: ink is inherited and that it can be overridden.
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span Inner ypgq span</span>
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span </span><span style="-webkit-text-decoration-skip: none; text-decoration: underline;">Inner ypgq span</span>
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span Inner ypgq span</span>
+</p>
+</body>
+</html>
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-inherit.html
new file mode 100644 (file)
index 0000000..6e5a120
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+<p>
+This test makes sure that text-decoration-skip: ink is inherited and that it can be overridden.
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span <span>Inner ypgq span</span></span>
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span <span style="-webkit-text-decoration-skip: none;">Inner ypgq span</span></span>
+</p>
+<p>
+<span style="-webkit-text-decoration-skip: ink; text-decoration: underline;">Outer ypqg span <span style="-webkit-text-decoration-skip: inherit;">Inner ypgq span</span></span>
+</p>
+</body>
+</html>