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

Side by Side Diff: LayoutTests/fast/css/link-disabled-attr.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 "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <link id="sheet" rel="stylesheet" href="data:tex/css,#test-element{text-decorati on:line-through}"> 4 <link id="sheet" rel="stylesheet" href="data:tex/css,#test-element{text-decorati on:line-through}">
5 <link id="notsheet" rel="author" href="mailto:nosuch@webkit.org"> 5 <link id="notsheet" rel="author" href="mailto:nosuch@webkit.org">
6 <link id="alt" rel="alternate stylesheet" title="altset" href="resources/green.c ss"> 6 <link id="alt" rel="alternate stylesheet" title="altset" href="resources/green.c ss">
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../js/resources/js-test-pre.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // work, and be consistent with each other. 44 // work, and be consistent with each other.
45 45
46 debug("sheet"); 46 debug("sheet");
47 47
48 link = document.getElementById("sheet"); 48 link = document.getElementById("sheet");
49 shouldBeNonNull("link.sheet"); 49 shouldBeNonNull("link.sheet");
50 50
51 link.sheet.disabled = true; 51 link.sheet.disabled = true;
52 shouldBeTrue("link.disabled"); 52 shouldBeTrue("link.disabled");
53 shouldBeTrue("link.sheet.disabled"); 53 shouldBeTrue("link.sheet.disabled");
54 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "none"); 54 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "none soli d rgb(0, 0, 0)");
55 55
56 link.disabled = false; 56 link.disabled = false;
57 shouldBeFalse("link.disabled"); 57 shouldBeFalse("link.disabled");
58 shouldBeFalse("link.sheet.disabled"); 58 shouldBeFalse("link.sheet.disabled");
59 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "line-thro ugh"); 59 shouldBeEqualToString("getComputedStyle(testElement).textDecoration", "line-thro ugh");
60 60
61 link.sheet.disabled = false; 61 link.sheet.disabled = false;
62 62
63 63
64 // An alternate stylesheet defaults to disabled when its title does not 64 // An alternate stylesheet defaults to disabled when its title does not
(...skipping 28 matching lines...) Expand all
93 93
94 finishJSTest(); 94 finishJSTest();
95 } 95 }
96 96
97 link.disabled = false; 97 link.disabled = false;
98 onSheetLoaded(altSheetLoaded, link, 500); 98 onSheetLoaded(altSheetLoaded, link, 500);
99 99
100 </script> 100 </script>
101 <script src="../js/resources/js-test-post.js"></script> 101 <script src="../js/resources/js-test-post.js"></script>
102 </body></html> 102 </body></html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/link-alternate-stylesheet-5-expected.txt ('k') | LayoutTests/fast/css/link-disabled-attr-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698