Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / counters / after-continuation.html
blob1eabc713aecc283f11f9f05a3550971ad6c6dba7
1 <html><head>
2 <style>
3 .c0:after { counter-increment:section; content: counter(section); }
4 </style>
5 <script src="../../../resources/js-test.js"></script>
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
11 function run()
13 shouldBe("window.internals.counterValue(document.getElementById('c2'))", "'2'");
15 debug('');
16 debug('TEST COMPLETE');
17 if (window.testRunner)
18 testRunner.notifyDone();
20 </script>
21 </head><body onload="setTimeout('run()', 0);">
22 <p>This test passes if the numbers displayed below are 1 and 2 in this order.</p>
23 <div>
24 <div style="counter-reset: section;"></div>
25 <div><span id="c1" class=c0><div></div></span></div>
26 <div id="c2" class=c0></div>
27 </div>
28 <div id="console"></div>
29 </body></html>