Skip to content

Commit d56b7a4

Browse files
committed
[css-lists] Fix definition of list-style-position:outside to not reference position:marker.
1 parent a77d027 commit d56b7a4

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

css-lists-3/Overview.bs

+23-9
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,29 @@ Positioning Markers: The 'list-style-position' property</h3>
393393

394394
<dt><dfn id='list-style-position-outside'>outside</dfn>
395395
<dd>
396-
The 'position' property on the marker computes to ''marker''.
397-
Additionally, the base directionality of the marker
398-
(used as an input to the bidi resolution algorithm)
399-
must be taken from the marker's <a>marker positioning reference element</a>.
400-
401-
If the <a>list item</a> is <a>inline</a>,
402-
this value instead computes to ''inside''.
396+
If the <a>list item</a> is a <a>block container</a>:
397+
the marker box is outside the principal block box;
398+
however, the position of the list-item marker adjacent to floats is undefined.
399+
CSS does not specify the precise location of the marker box
400+
or its position in the painting order,
401+
but does require that it be placed on the <a>inline-start</a> side of the box,
402+
using the <a>writing mode</a> of the box indicated by 'marker-side'.
403+
The marker box is fixed with respect to the principal block box's border
404+
and does not scroll with the principal box's content.
405+
A UA may hide the marker if the element's 'overflow' is other than ''overflow/visible''.
406+
(This allowance may change in the future.)
407+
The size or contents of the marker box may affect
408+
the height of the principal block box
409+
and/or the height of its first line box,
410+
and in some cases may cause the creation of a new line box;
411+
this interaction is also not defined.
412+
413+
Issue: This is handwavey nonsense from CSS2, and needs a real definition.
414+
415+
If the <a>list item</a> is an <a>inline box</a>:
416+
this value is equivalent to ''inside''.
417+
418+
Issue: Alternatively, ''outside'' could lay out the marker as a previous sibling of the principal box.
403419
</dl>
404420

405421
<div class=example>
@@ -1330,8 +1346,6 @@ Use <<custom-ident>> consistently for counter names.
13301346
<ol>
13311347
<li>The ''::marker'' pseudo-element has been introduced to allow styling of the list marker directly.
13321348

1333-
<li>The ''marker'' value for 'position' has been added, to allow elements in the document to position themselves similarly to how markers do.
1334-
13351349
<li>'list-style-type' now accepts a <<string>>.
13361350

13371351
<li>The list-item predefined counter identifier has been introduced.

0 commit comments

Comments
 (0)