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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../../resources/js-test.js"></script>
3 <div id="target" style="text-decoration: underline;">This text should be underli ned</div>
4 <script>
5 description("Test that computed style for text-decoration is correctly represent ed.");
6
7 var decoration = getComputedStyle(target).textDecoration;
8
9 if (window.internals && internals.runtimeFlags.css3TextDecorationsEnabled)
10 shouldBe("decoration", "'underline solid rgb(0, 0, 0)'");
11 else
12 shouldBe("decoration", "'underline'");
13 </script>
OLDNEW
« 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