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

Side by Side Diff: LayoutTests/fast/css/link-alternate-stylesheet-2.html

Issue 22414006: Revert "Revert "[css3-text] Implement text-decoration property shorthand"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing skipped test to TestExpectations Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href="resources/basic.css" type="text/css" /> 6 <link rel="stylesheet" href="resources/basic.css" type="text/css" />
7 <link rel="stylesheet" href="resources/small.css" type="text/css" /> 7 <link rel="stylesheet" href="resources/small.css" type="text/css" />
8 <link rel="stylesheet" href="resources/normal.css" type="text/css" /> 8 <link rel="stylesheet" href="resources/normal.css" type="text/css" />
9 <link rel="alternate stylesheet" href="resources/high.css" type="text/css" /> 9 <link rel="alternate stylesheet" href="resources/high.css" type="text/css" />
10 <script src="../js/resources/js-test-pre.js"></script> 10 <script src="../js/resources/js-test-pre.js"></script>
(...skipping 11 matching lines...) Expand all
22 </ul> 22 </ul>
23 23
24 <script> 24 <script>
25 description("Alternate stylesheet (link) title test 2"); 25 description("Alternate stylesheet (link) title test 2");
26 26
27 if (window.testRunner) 27 if (window.testRunner)
28 testRunner.dumpAsText(); 28 testRunner.dumpAsText();
29 29
30 window.onload = function () { 30 window.onload = function () {
31 element = document.getElementById("firstH1"); 31 element = document.getElementById("firstH1");
32 shouldBe("getComputedStyle(element).getPropertyValue('text-decoration')", "'underline'"); 32 shouldBe("getComputedStyle(element).getPropertyValue('text-decoration')", "'underline solid rgb(51, 51, 51)'");
33 33
34 element = document.getElementById("textLine"); 34 element = document.getElementById("textLine");
35 shouldBe("getComputedStyle(element).getPropertyValue('font-size')", "'12px '"); 35 shouldBe("getComputedStyle(element).getPropertyValue('font-size')", "'12px '");
36 36
37 shouldBe("getComputedStyle(document.body).getPropertyValue('border-top-col or')", "'rgb(0, 128, 0)'"); 37 shouldBe("getComputedStyle(document.body).getPropertyValue('border-top-col or')", "'rgb(0, 128, 0)'");
38 38
39 wasPostTestScriptParsed = true; 39 wasPostTestScriptParsed = true;
40 finishJSTest(); 40 finishJSTest();
41 } 41 }
42 </script> 42 </script>
43 43
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698