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

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line-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-line-recalc.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line-recalc.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line-recalc.html
new file mode 100644
index 0000000000000000000000000000000000000000..90f47a4a0ab518592a5ba5719de47a2ffc6c1671
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/text-decoration-line-recalc.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<style>
+ div {
+ font-size: 50px;
+ text-decoration: underline solid green;
+ }
+</style>
+<script>
+ onload = function() {
+ target.style.textDecorationLine = "overline";
+ };
+</script>
+<p>Test that changes in text-decoration-line are recalculated correctly. PASS
+if the text below has a solid green overline, and no underline.</p>
+<div id="target">
+ Filler text
+</div>

Powered by Google App Engine
This is Rietveld 408576698