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

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html

Issue 282303007: Don't pretend that text-decoration is a shorthand in computed style. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Same as Patch Set 3, with --no-find-copies 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
« no previous file with comments | « no previous file | LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html b/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
new file mode 100644
index 0000000000000000000000000000000000000000..741f0b96e176d0944366fddcc2b595465aaf2c0f
--- /dev/null
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../../../resources/js-test.js"></script>
+<div id="target" style="text-decoration: underline;">This text should be underlined</div>
+<script>
+description("Test that computed style for text-decoration is correctly represented.");
+
+var decoration = getComputedStyle(target).textDecoration;
+
+if (window.internals && internals.runtimeFlags.css3TextDecorationsEnabled)
+ shouldBe("decoration", "'underline solid rgb(0, 0, 0)'");
+else
+ shouldBe("decoration", "'underline'");
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css3-text/css3-text-decoration/stable/getComputedStyle-text-decoration-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698