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

Side by Side Diff: LayoutTests/userstyles/insert-stylesheets.html

Issue 14188004: Remove UserScript support, which is not used by Chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove one more test Created 7 years, 8 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> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .styled { 5 .styled {
6 background-color: red; 6 background-color: red;
7 width: 0; 7 width: 0;
8 height: 100px; 8 height: 100px;
9 } 9 }
10 </style> 10 </style>
(...skipping 23 matching lines...) Expand all
34 // Since this style is more specific, it should override the original author style above. 34 // Since this style is more specific, it should override the original author style above.
35 internals.insertAuthorCSS(document, "body .styled { background-color: green; width: 100px; }"); 35 internals.insertAuthorCSS(document, "body .styled { background-color: green; width: 100px; }");
36 shouldBe("getComputedStyle(testElement).backgroundColor", "'rgb(0, 128, 0)'" ); 36 shouldBe("getComputedStyle(testElement).backgroundColor", "'rgb(0, 128, 0)'" );
37 shouldBe("testElement.offsetWidth", "100"); 37 shouldBe("testElement.offsetWidth", "100");
38 } 38 }
39 39
40 test(); 40 test();
41 </script> 41 </script>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698