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

Side by Side Diff: LayoutTests/fast/css/stylesheet.innerHTML-calls-didmutate.html

Issue 12518025: Merge 144713 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/stylesheet.innerHTML-calls-didmutate-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <style> 1 <style>
2 h6 { 2 h6 {
3 text-shadow: 0.85714in -110pc -0.216688mm; 3 text-shadow: 0.85714in -110pc -0.216688mm;
4 } 4 }
5 p + h6 { 5 p + h6 {
6 left: 180cm; 6 left: 180cm;
7 } 7 }
8 </style> 8 </style>
9 <script> 9 <script>
10 function main() { 10 function main() {
11 var styletag = document.getElementsByTagName("style")[0]; 11 var styletag = document.getElementsByTagName("style")[0];
12 styletag.type = "p"; 12 styletag.type = "p";
13 styletag.innerHTML = "t"; 13 styletag.innerHTML = "t";
14 var second_h6 = document.getElementsByTagName("h6")[1]; 14 var second_h6 = document.getElementsByTagName("h6")[1];
15 second_h6.align = 'a'; 15 second_h6.align = 'a';
16 document.styleSheets[0].removeRule(0); 16 document.styleSheets[0].removeRule(0);
17 17
18 if (window.testRunner) 18 if (window.testRunner)
19 testRunner.dumpAsText(); 19 testRunner.dumpAsText();
20 } 20 }
21 </script> 21 </script>
22 <body onload=main()><h6><h6> 22 <body onload=main()><h6><h6>
23 Changing a documents stylesheet's innerHTML should not crash. 23 Changing a documents stylesheet's innerHTML should not crash.
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/stylesheet.innerHTML-calls-didmutate-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698