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

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

Issue 1328283005: Add support for multiple text decorations with same line positioning (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years 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-simple-underlines.html
diff --git a/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines.html b/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines.html
new file mode 100644
index 0000000000000000000000000000000000000000..7f4332c2fd2fcdde6671127e8e1bbfc0101aec84
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-inherit-simple-underlines.html
@@ -0,0 +1,54 @@
+<!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>
+
+<!-- Special optimization for 'simple' underlines -->
+<div style="text-decoration: underline;">
+ Solid black underline.
+</div>
+
+<div style="text-decoration: underline overline;">
+ <div style="text-decoration: underline wavy green;">
+ Solid black overline, solid black underline with wavy green underline on top.
+ </div>
+</div>
+
+<div style="text-decoration: underline wavy green;">
+ <div>
+ <div style="text-decoration: underline;">
+ Wavy green underline, solid black underline on top.
+ </div>
+ </div>
+</div>
+
+<div style="text-decoration: underline;">
+ <div>
+ <div style="text-decoration: underline wavy green;">
+ Solid black underline, wavy green underline on top.
+ </div>
+ </div>
+</div>
+
+<div style="text-decoration: underline wavy red;">
+ <div style="text-decoration: underline;">
+ Wavy red underline, solid black underline on top.
+ </div>
+</div>
+
+<div style="text-decoration: underline wavy red; color: blue;">
+ <div style="text-decoration: underline;">
+ Wavy red underline, solid blue underline on top, blue text.
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698