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> |