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

Side by Side Diff: LayoutTests/fast/dom/StyleSheet/detached-style.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="resources/detached-style.css" type="text/css" media ="screen"> 3 <link rel="stylesheet" href="resources/detached-style.css" type="text/css" media ="screen">
4 <style>* { }</style> 4 <style>* { }</style>
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=45205">Bug 45205</a>: 8 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=45205">Bug 45205</a>:
9 Test that &lt;link> elements only have stylesheets when in document.</p> 9 Test that &lt;link> elements only have stylesheets when in document.</p>
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 shouldBe('sheet.ownerNode', 'null') 45 shouldBe('sheet.ownerNode', 'null')
46 shouldBe('sheet.cssRules[0].cssText[0]', '"*"') 46 shouldBe('sheet.cssRules[0].cssText[0]', '"*"')
47 47
48 debug("Re-adding &lt;style>..."); 48 debug("Re-adding &lt;style>...");
49 head.appendChild(style); 49 head.appendChild(style);
50 shouldBe('sheet.ownerNode', 'null') 50 shouldBe('sheet.ownerNode', 'null')
51 shouldBe('style.sheet === sheet', 'false') 51 shouldBe('style.sheet === sheet', 'false')
52 shouldBe('style.sheet.ownerNode', 'style') 52 shouldBe('style.sheet.ownerNode', 'style')
53 53
54 </script> 54 </script>
55 <script src="../../js/resources/js-test-post.js"></script>
56 </body> 55 </body>
57 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698