gecko/layout/reftests/counters/counter-ua-limits-01-ref.html
L. David Baron 7f2e2e8a2c Bug 839809: Make counter-increments and list counting that would go past our internal (int32_t) limit keep the counter at its current value rather than wrapping. r=dholbert
Per CSS WG resolution regarding counter-styles-3, afternoon of 2013-02-05:
http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590
http://lists.w3.org/Archives/Public/www-style/2013Feb/0392.html

Note that this patch depends on signed integer overflow behavior in C++,
which I believe is portable despite being unspecified.
2013-02-21 18:10:59 -08:00

27 lines
720 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>css-counter-styles-3 Test Suite: content: counter(c)</title>
<!--
NOTE: This test cannot be contributed to the test suite because
it presumes a 4-byte unsigned integer, which is not required by
the spec.
However, it tests the rules for what happens at the UA-specific
limit, which are required by the spec.
-->
<link rel="help" href="http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-range"/>
<link rel="help" href="http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590"/>
</head>
<body>
<div id="test">
<span>2147483640</span>
<span>2147483645</span>
<span>2147483645</span>
<span>2147483645</span>
</div>
</body>
</html>