Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / focus-clear-resolver-crash.html
blobaf176d356569c9d85b858d2b880ae58643928718
1 <!DOCTYPE html>
2 <style>
3 div { color: pink }
4 :focus { outline: none }
5 :focus #inner { color: green }
6 </style>
7 <div id="focused" tabIndex="1" onfocus="document.styleSheets[0].deleteRule(0);">
8 <span id="inner">This text should be green - no crash.</span>
9 </div>
10 <script>
11 document.getElementById("focused").focus();
12 </script>