Skip to content

Commit 91abe89

Browse files
committed
[css-lists] Added some stability issues.
1 parent db11f37 commit 91abe89

2 files changed

Lines changed: 56 additions & 26 deletions

File tree

css-lists/Overview.bs

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Abstract: This draft contains the features of CSS level 3 relating to list
2121
<h2 id='intro'>
2222
Introduction</h2>
2323

24+
<p class='issue'><strong>
25+
This is an early-stage working draft.
26+
None of its contents should be considered suitable for implementation at this point.
27+
Please cross-check against CSS 2.1 before implementing anything in this specification.</strong>
28+
2429
This specification defines the ''::marker'' pseudo-element,
2530
the ''list-item'' and ''inline-list-item'' 'display' values that generate markers,
2631
and several properties controlling the placement and styling of markers.
@@ -109,7 +114,7 @@ Default Marker Contents: The 'list-style-image' and 'list-style-type' properties
109114
Inherited: yes
110115
Percentages: n/a
111116
Media: visual
112-
Computed value: computed value fo the <<image>>, or ''none''
117+
Computed value: computed value fo the <<image>>, or ''list-style-image/none''
113118
</pre>
114119

115120
The 'list-style-image' property specifies an image that will be used as the list marker's <i>default contents</i>.
@@ -136,7 +141,7 @@ Default Marker Contents: The 'list-style-image' and 'list-style-type' properties
136141

137142
<pre class="propdef">
138143
Name: list-style-type
139-
Value: <<string>> | <<counter-style>> | none
144+
Value: <<counter-style>> | <<string>> | none
140145
Initial: disc
141146
Applies to: <a>list items</a>
142147
Inherited: yes
@@ -145,21 +150,21 @@ Default Marker Contents: The 'list-style-image' and 'list-style-type' properties
145150
Computed value: specified value
146151
</pre>
147152

148-
When the value of 'list-style-image' is ''none''
153+
When the value of 'list-style-image' is ''list-style-image/none''
149154
or an <a href="http://www.w3.org/TR/css3-images/#invalid-image">invalid image</a>,
150155
the 'list-style-type' property is used to construct the default contents of a list item's marker;
151156
otherwise, 'list-style-type' is ignored.
152157
The values are defined as follows:
153158

154159
<dl dfn-type="value" dfn-for="list-style-type">
155-
<dt><dfn>&lt;string></dfn>
156-
<dd>
157-
The <<string>> is used as the list item's marker's <i>default contents</i>.
158-
159160
<dt><dfn>&lt;counter-style></dfn>
160161
<dd>
161162
The list item's marker's <i>default contents</i> are that counter style. [[CSS-COUNTER-STYLES-3]]
162163

164+
<dt><dfn>&lt;string></dfn>
165+
<dd>
166+
The <<string>> is used as the list item's marker's <i>default contents</i>.
167+
163168
<dt><dfn>none</dfn>
164169
<dd>
165170
The list item's marker's <i>default contents</i> are ''none''.
@@ -229,7 +234,7 @@ Marker Position: The 'list-style-position' property</h2>
229234
</dl>
230235

231236
Note: Note that a marker is only generated
232-
if the used value of the 'content' property for the ''::marker'' pseudo-element is not ''none''.
237+
if the used value of the 'content' property for the ''::marker'' pseudo-element is not ''content/none''.
233238

234239
<div class=example>
235240
For example:
@@ -368,7 +373,7 @@ Markers: The ''::marker'' pseudo-element</h2>
368373

369374
The ''::marker'' pseudo-element is only created on <i>list items</i>.
370375
On any other element,
371-
the ''::marker'' pseudo-element's 'content' property must compute to ''none'',
376+
the ''::marker'' pseudo-element's 'content' property must compute to ''content/none'',
372377
which suppresses its creation.
373378

374379
<div class="example">
@@ -509,7 +514,7 @@ Generating the value of the 'content' property</h3>
509514

510515
<dt>''none''
511516
<dd>
512-
The computed value of the 'content' property is ''none''.
517+
The computed value of the 'content' property is ''content/none''.
513518
</dl>
514519

515520
If the computed value of 'content' was an <<image>>,
@@ -538,6 +543,11 @@ Generating the value of the 'content' property</h3>
538543
<h2 id='positioning-markers'>
539544
Positioning Markers</h2>
540545

546+
<p class='issue'><strong>
547+
This section is not ready for implementation.
548+
It is an unreviewed rough draft that hasn't even been properly checked for Web-compatibility.
549+
Feel free to send feedback, but DON'T USE THIS PART OF THE SPEC.</strong>
550+
541551
This section introduces a new positioning scheme,
542552
designed to model the way in which ''list-style-position:outside'' list markers were traditionally positioned in CSS 2.1.
543553
Outside list markers now have their positioning defined in terms of this new value.
@@ -1060,7 +1070,7 @@ Nested Counters</h3>
10601070
Counters in elements that do not generate boxes</h3>
10611071

10621072
An element that does not generate a box
1063-
(for example, an element with 'display' set to ''none'', or a pseudo-element with 'content' set to ''none'')
1073+
(for example, an element with 'display' set to ''display/none'', or a pseudo-element with 'content' set to ''content/none'')
10641074
cannot set, reset, or increment a counter.
10651075
The counter properties are still valid on such an element,
10661076
but they must have no effect.

0 commit comments

Comments
 (0)