Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / counters / counter-increment-overflow.html
blob73ad15c5160b2260304389d88d506a1ad43fc49f
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 div
7 counter-increment: ident 2147483648;
9 div:before
11 content: counter(ident);
13 </style>
14 <script type="text/javascript">
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 function doTest()
20 if (window.testRunner)
21 document.getElementById('counted').innerText = window.internals.counterValue(document.getElementById('counted'));
24 window.addEventListener('load', doTest, false);
25 </script>
26 </head>
27 <body>
28 <p>Test passes if the number '2147483647' appears below.</p>
29 <div id="counted"></div>
31 </body>
32 </html>