Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links.html

Issue 2497963002: Add support for multiple text decorations with same line positioning (Closed)
Patch Set: Update slimming paint expectations Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links.html
diff --git a/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links.html b/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links.html
new file mode 100644
index 0000000000000000000000000000000000000000..544f0de67c48037d469d8fa7ee80eafad6a00d57
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-links.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+</script>
+
+<style>
+/* Make decorations bigger so they are easier to see */
+body {
+ font-size: 15px;
+}
+body > div {
+ margin-bottom: 15px;
+}
+</style>
+
+<div>
+ <a href="http://wflwjflwef.com">Unvisited link: Solid blue underline, blue text.</a>
+</div>
+
+<div>
+ <a href="">Visited link: Solid purple underline, purple text.</a>
+</div>
+
+<div style="text-decoration: underline wavy green;">
+ <a href="">Custom visited link: Purple wavy underline, purple solid underline on top, purple text. </a>
+</div>
+
+<div>
+ <a href="" style="text-decoration: overline wavy;">Custom visited link: Purple solid underline, purple wavy overline, purple text.</a>
+</div>
+
+<div>
+ <a href="" style="text-decoration: underline wavy;">Custom visited link: Purple wavy underline, purple text.</a>
+</div>
+
+<div style="text-decoration: underline wavy;">
+ <a href="" style="color: green;">Custom visited link: Green wavy underline, green solid underline on top, green text.</a>
+</div>
+
+<div style="color: green;">
+ <a href="" style="text-decoration: underline wavy;">Custom visited link: Purple wavy underline, purple text.</a>
+</div>
+
+<div style="text-decoration: overline wavy;" >
+ <a href="">Custom visited link: Purple solid underline, purple wavy overline, purple text.</a>
+</div>

Powered by Google App Engine
This is Rietveld 408576698