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

Side by Side Diff: LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.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 <style> 3 <style>
4 #test-element { 4 #test-element {
5 text-decoration: line-through; 5 text-decoration: line-through;
6 } 6 }
7 </style> 7 </style>
8 <script src="../../js/resources/js-test-pre.js"></script> 8 <script src="../../js/resources/js-test-pre.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <span id="test-element"></div> 11 <span id="test-element"></div>
12 <script> 12 <script>
13 description("Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtrees. " + 13 description("Test that CSS stylesheets lacking wrappers are pruned from detached CSSOM subtrees. " +
14 "This is surprising behavior, but it's a very rare situation, and the behavior a ctually matches " + 14 "This is surprising behavior, but it's a very rare situation, and the behavior a ctually matches " +
15 "what both WebKit and Gecko do for DOM nodes in detached subtrees."); 15 "what both WebKit and Gecko do for DOM nodes in detached subtrees.");
16 16
17 var rule = getMatchedCSSRules(document.getElementById("test-element")).item(0); 17 var rule = getMatchedCSSRules(document.getElementById("test-element")).item(0);
18 document.documentElement.removeChild(document.head); 18 document.documentElement.removeChild(document.head);
19 shouldBe("rule.parentStyleSheet", "null"); 19 shouldBe("rule.parentStyleSheet", "null");
20 </script> 20 </script>
21 <script src="../../js/resources/js-test-post.js"></script>
22 </body> 21 </body>
23 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/StyleSheet/detached-style.html ('k') | LayoutTests/fast/dom/StyleSheet/discarded-sheet-owner-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698