Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / remove-loading-style.html
blob52aa9b7e9f17ad461695fe0b1dfe615065f2bdfc
1 <!DOCTYPE html>
2 <!-- crbug.com/345114: Adding and removing a style with an @import at page load causes the page to never render.-->
3 <div>PASS</div>
4 <script>
5 var s = document.createElement('style');
6 s.textContent = "@import url('resources/red.css');";
7 document.head.appendChild(s);
8 s.parentNode.removeChild(s);
9 </script>