Home | History | Annotate | Download | only in assets
      1 <html>
      2     <head>
      3         <style>
      4             div.example:before {
      5                 content: counter(exampleno, upper-roman);
      6                 counter-increment: exampleno;
      7             }
      8             pre.example:before {
      9                 content: counter(exampleno, upper-roman);
     10                 counter-increment: exampleno;
     11             }
     12         </style>
     13         <script>
     14             function test()
     15             {
     16                 if (window.layoutTestController)
     17                     layoutTestController.dumpAsText();
     18             }
     19         </script>
     20     </head>
     21     <body onload="test()">
     22         This tests that we don't crash when using the CSS counters feature.
     23         <div class="example"></div>
     24         <pre class="example"></pre>
     25     </body>
     26 </html>
     27