You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the <i>ancestor list item</i> has ''marker-attachment:list-item'',
781
+
If the <i>ancestor list item</i> has ''marker-side:list-item'',
782
782
the <i>marker positioning reference element</i> is the <i>ancestor list item</i>.
783
783
784
784
<p>
785
-
Otherwise, if the <i>ancestor list item</i> has ''marker-attachment:list-container'' and has a parent element,
785
+
Otherwise, if the <i>ancestor list item</i> has ''marker-side:list-container'' and has a parent element,
786
786
the <i>marker positioning reference element</i> is the <i>ancestor list item's</i> parent.
787
787
788
788
<p>
@@ -811,7 +811,7 @@ <h3 id='position-marker'>
811
811
812
812
<pclass='note'>
813
813
Note: The purpose of this somewhat convoluted definition is to position the marker flush against its list item,
814
-
and then when "marker-attachment:list-container",
814
+
and then when "marker-side:list-container",
815
815
keep all the markers for a given list on the same side of their list items even in mixed-direction text,
816
816
so that authors can specify padding on only one side of the list container and still ensure their markers are visible.
817
817
And on top of all that,
@@ -873,15 +873,24 @@ <h3 id='position-marker'>
873
873
and be confident that the reference will always be resolvable.
874
874
</div>
875
875
876
-
<h3id='marker-attachment'>
877
-
The 'marker-attachment' property</h3>
876
+
<h3id='marker-side'>
877
+
The 'marker-side' property</h3>
878
878
879
-
<p>By default, elements or ''::marker'' pseudo-elements with ''position:marker'' position themselves according to their list item's directionality. However, if the list item is grouped with several other list items which may have different directionality (for example, multiple <li>s with different "dir" attributes in an <ol> in HTML), it is sometimes more useful to have all the markers line up on one side, so the author can specify a single "gutter" on that side and be assured that all the markers will lie in that gutter and be visible. The 'marker-attachment' property defined in this section allows an author to control this, switching list items to positioning their markers based off the list container's directionality instead.
879
+
<p>
880
+
By default, elements or ''::marker'' pseudo-elements with ''position:marker''
881
+
position themselves according to their list item's directionality.
882
+
However, if the list item is grouped with several other list items which may have different directionality
883
+
(for example, multiple <li>s with different "dir" attributes in an <ol> in HTML),
884
+
it is sometimes more useful to have all the markers line up on one side,
885
+
so the author can specify a single "gutter" on that side
886
+
and be assured that all the markers will lie in that gutter and be visible.
887
+
The 'marker-side' property defined in this section allows an author to control this,
888
+
switching list items to positioning their markers based off the list container's directionality instead.
880
889
881
890
<tableclass="propdef">
882
891
<tr>
883
892
<th>Property:
884
-
<td><dfn>marker-attachment</dfn>
893
+
<td><dfn>marker-side</dfn>
885
894
<tr>
886
895
<th>Value:
887
896
<td>list-item | list-container
@@ -890,7 +899,7 @@ <h3 id='marker-attachment'>
890
899
<td>list-item
891
900
<tr>
892
901
<th>Applies to:
893
-
<td><ititle="list item">list items</i>
902
+
<td><i>list items</i>
894
903
<tr>
895
904
<th>Inherited:
896
905
<td>yes
@@ -905,18 +914,26 @@ <h3 id='marker-attachment'>
905
914
<td>specified value
906
915
</table>
907
916
908
-
<p>When a list item has ''marker-attachment:list-item'', any <ititle='associated-marker'>markers associated with the list item</i> base their positioning off of the directionality of the list item. When a list item has ''marker-attachment:list-container'', the <ititle='associated-marker'>associated markers</i> instead base their positioning off of the directionality of the list item's parent element. The normative meaning of this is specified in the section defining <ahref="#position-marker">position:marker</a>.
917
+
<p>
918
+
When a list item has ''marker-side:list-item'',
919
+
any <ititle='associated-marker'>markers associated with the list item</i> base their positioning off of the directionality of the list item.
920
+
When a list item has ''marker-side:list-container'',
921
+
the <ititle='associated-marker'>associated markers</i> instead base their positioning off of the directionality of the list item's parent element.
922
+
The normative meaning of this is specified in the section defining <ahref="#position-marker">position:marker</a>.
909
923
910
924
<divclass='example'>
911
-
<p>Here is a visual rendering of the effect that 'marker-attachment' can have on a list. Both of the following renderings are generated from the following HTML, with the only difference being the value of 'marker-attachment' on the list:
925
+
<p>
926
+
Here is a visual rendering of the effect that 'marker-side' can have on a list.
927
+
Both of the following renderings are generated from the following HTML,
928
+
with the only difference being the value of 'marker-side' on the list:
0 commit comments