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

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-recalc.html

Issue 280503003: Fix incorrect style recalculation of text-decoration properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review issues. Created 6 years, 7 months 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: LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-recalc.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-recalc.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-recalc.html
new file mode 100644
index 0000000000000000000000000000000000000000..61fde1368d403871ed9e740a756dbfe867ec8c20
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-style-recalc.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<style>
+ div {
+ font-size: 50px;
+ text-decoration: underline solid green;
+ }
+</style>
+<script>
+ onload = function() {
+ target.style.textDecorationStyle = "dashed";
+ };
+</script>
+<p>Test that changes in text-decoration-style are recalculated correctly. PASS
+if the text below has a dashed green underline, and not a solid green underline.</p>
+<div id="target">
+ Filler text
+</div>

Powered by Google App Engine
This is Rietveld 408576698