Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / counters / counter-after-style-crash.html
blob91d9a1eef09f3b899dc4a7da48e1aba808094143
1 <html>
2 <script>
3 if (window.testRunner) {
4 testRunner.waitUntilDone();
5 testRunner.dumpAsText();
7 </script>
8 <style>
9 div {
10 counter-reset:ctr
13 :after {
14 content:counter(x);
15 counter-increment:ctr;
17 </style>
18 <junk>TESTING..</div><div><div></div>
19 <span></span>
20 <table>
21 </script>
22 <script>
23 document.designMode='on';
24 document.execCommand('selectall');
25 document.execCommand('italic');
26 document.execCommand('removeformat');
28 document.body.innerHTML = "PASS: Counters updated successfully without crashing";
29 testRunner.notifyDone();
30 </script>
31 </table>
32 </html>