layout/reftests/counters/counter-ua-limits-01.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>css-counter-styles-3 Test Suite: content: counter(c)</title>
michael@0 5 <!--
michael@0 6 NOTE: This test cannot be contributed to the test suite because
michael@0 7 it presumes a 4-byte unsigned integer, which is not required by
michael@0 8 the spec.
michael@0 9
michael@0 10 However, it tests the rules for what happens at the UA-specific
michael@0 11 limit, which are required by the spec.
michael@0 12 -->
michael@0 13 <link rel="help" href="http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-range"/>
michael@0 14 <link rel="help" href="http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590"/>
michael@0 15 <style type="text/css">
michael@0 16
michael@0 17 #test { counter-reset: c 2147483635; }
michael@0 18 #test span { counter-increment: c 5; }
michael@0 19 #test span:before { content: counter(c); }
michael@0 20
michael@0 21 </style>
michael@0 22 </head>
michael@0 23 <body>
michael@0 24
michael@0 25 <div id="test">
michael@0 26 <span></span>
michael@0 27 <span></span>
michael@0 28 <span></span>
michael@0 29 <span></span>
michael@0 30 </div>
michael@0 31
michael@0 32 </body>
michael@0 33 </html>

mercurial