Skip to content

Commit 5323bf6

Browse files
committed
[css3-lists] Specify the behavior of counter-increment when it exceeds the impl limits.
1 parent c8ed7e6 commit 5323bf6

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

css3-lists/Overview.html

+16-9
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010

1111
<meta content="CSS Lists and Counters Module Level 3" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2012-11-30 name=dcterms.issued>
13+
<meta content=2013-02-19 name=dcterms.issued>
1414
<meta content="http://dev.w3.org/csswg/css3-lists/" name=dcterms.creator>
1515
<meta content=W3C name=dcterms.publisher>
16-
<meta content="http://www.w3.org/TR/2012/ED-css3-lists-20121130/"
16+
<meta content="http://dev.w3.org/csswg/css3-lists/"
1717
name=dcterms.identifier>
1818
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
1919
<link href="http://dev.w3.org/csswg/default.css" rel=stylesheet
2020
type="text/css">
21+
<link href="../csslogo.ico" rel="shortcut icon" type="image/x-icon">
2122
<style>
2223
code.inline { white-space: nowrap; }
2324
.alphabetic-example { font-family: monospace; font-size: 90%; margin: 1em 0 1em 2em; }
@@ -36,13 +37,13 @@
3637

3738
<h1>CSS Lists and Counters Module Level 3</h1>
3839

39-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 November
40-
2012</h2>
40+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 February
41+
2013</h2>
4142

4243
<dl>
4344
<dt>This version:
4445

45-
<dd><!--<a href="http://www.w3.org/TR/2012/WD-css3-lists-20121130">http://www.w3.org/TR/2012/WD-css3-lists-20121130</a>-->
46+
<dd><!--<a href="http://www.w3.org/TR/2013/WD-css3-lists-20130219">http://www.w3.org/TR/2013/WD-css3-lists-20130219</a>-->
4647
<a
4748
href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
4849

@@ -101,13 +102,14 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 November
101102
<!--begin-copyright-->
102103
<p class=copyright><a
103104
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
104-
rel=license>Copyright</a> © 2012 <a href="http://www.w3.org/"><abbr
105+
rel=license>Copyright</a> © 2013 <a href="http://www.w3.org/"><abbr
105106
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
106107
href="http://www.csail.mit.edu/"><abbr
107108
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
108109
href="http://www.ercim.eu/"><abbr
109110
title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
110-
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
111+
<a href="http://www.keio.ac.jp/">Keio</a>, <a
112+
href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a
111113
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
112114
<a
113115
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
@@ -1581,6 +1583,11 @@ <h3 id=counter-properties><span class=secno>8.1. </span> Manipulating
15811583
<code>&lt;ident></code>, the starting value of the new counter is that
15821584
integer. Otherwise, the starting value of the new counter is ‘<code
15831585
class=css>0</code>’.
1586+
1587+
<p> Implementations may have implementation-specific limits on the
1588+
maximum or minimum value of a counter. If an increment would push the
1589+
counter's value beyond these limits, the increment must be ignored, and
1590+
the counter's value remain unchanged.
15841591
</dl>
15851592

15861593
<table class=propdef>
@@ -2299,10 +2306,10 @@ <h3 class=no-num id=normative-references>Normative references</h3>
22992306
<dt id=CSS21>[CSS21]
23002307

23012308
<dd>Bert Bos; et al. <a
2302-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
2309+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style
23032310
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 7 June
23042311
2011. W3C Recommendation. URL: <a
2305-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
2312+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
23062313
</dd>
23072314
<!---->
23082315
</dl>

css3-lists/Overview.src.html

+7
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,13 @@ <h3 id='counter-properties'>
10381038
If an <code>&lt;integer></code> is provided after an <code>&lt;ident></code>,
10391039
the starting value of the new counter is that integer.
10401040
Otherwise, the starting value of the new counter is ''0''.
1041+
1042+
<p>
1043+
Implementations may have implementation-specific limits
1044+
on the maximum or minimum value of a counter.
1045+
If an increment would push the counter's value beyond these limits,
1046+
the increment must be ignored,
1047+
and the counter's value remain unchanged.
10411048
</dl>
10421049

10431050
<table class="propdef">

0 commit comments

Comments
 (0)