Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / counters / stale-inline-box-crash.html
blob90df3fd20ac85b7e1e8ccbc5d81a41374c9049b5
1 <!DOCTYPE html>
2 <head>
3 <style>
4 #el0 {
5 counter-reset: c 1234567890
8 .c1:before {
9 content: counter(c, hangul-consonant) attr(id);
10 counter-increment: c 567;
13 .c0:after {
14 display: table-caption;
15 content: counter(c, tigre) attr(id);
18 </style>
19 </head>
21 <body>
22 PASS: did not crash.
24 <q id="el0" class="c0"><q id="el1" class="c1"></q></q>
26 <script>
27 if (window.testRunner) {
28 testRunner.dumpAsText();
29 testRunner.waitUntilDone();
32 setTimeout(function() {
33 document.styleSheets[0].insertRule('.c1:only-of-type { content: counter(c, circle) attr(id); }', document.styleSheets[0].rules.length);
34 document.body.offsetTop;
35 document.styleSheets[0].insertRule('#el1:last-child { -webkit-column-axis:auto;cjk-earthly-branch) close-quote; counter-reset: c 976; }', document.styleSheets[0].rules.length);
36 document.body.offsetTop;
38 if (window.testRunner)
39 testRunner.notifyDone();
40 }, 0);
41 </script>
42 </body>