Skip to content

Commit 0c3c23b

Browse files
committed
Added an example to marker-attachment.
1 parent 7ed64d3 commit 0c3c23b

2 files changed

Lines changed: 88 additions & 3 deletions

File tree

css3-lists/Overview.html

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525

2626
<h1>CSS Lists and Counters Module Level 3</h1>
2727

28-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 November
28+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 November
2929
2011</h2>
3030

3131
<dl>
3232
<dt>This version:
3333

34-
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20111118">http://www.w3.org/TR/2011/WD-css3-lists-20111118</a></dd>-->
34+
<dd><!--<a href="http://www.w3.org/TR/2011/WD-css3-lists-20111119">http://www.w3.org/TR/2011/WD-css3-lists-20111119</a></dd>-->
3535
<a
3636
href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
3737

@@ -1355,7 +1355,57 @@ <h3 id=marker-attachment><span class=secno>7.2. </span> The &lsquo;<a
13551355
title=associated-marker>associated markers</i></a> instead base their
13561356
positioning off of the directionality of the list item's parent element.
13571357
The normative meaning of this is specified in the section defining <a
1358-
href="#position-marker">position:marker</a>.</p>
1358+
href="#position-marker">position:marker</a>.
1359+
1360+
<div class=example>
1361+
<p>Here is a visual rendering of the effect that &lsquo;<a
1362+
href="#marker-attachment0"><code
1363+
class=property>marker-attachment</code></a>&rsquo; can have on a list.
1364+
Both of the following renderings are generated from the following HTML,
1365+
with the only difference being the value of &lsquo;<a
1366+
href="#marker-attachment0"><code
1367+
class=property>marker-attachment</code></a>&rsquo; on the list:</p>
1368+
1369+
<pre>
1370+
&lt;ul>
1371+
&lt;li>english one
1372+
&lt;li dir=rtl>OWT WERBEH
1373+
&lt;li>english three
1374+
&lt;li dir=rtl>RUOF WERBEH
1375+
&lt;/ul></pre>
1376+
1377+
<table class=data style="width: 35em;">
1378+
<thead>
1379+
<tr>
1380+
<th>list-item
1381+
1382+
<th>list-container
1383+
1384+
<tbody>
1385+
<tr>
1386+
<td style="border-right: thin solid">
1387+
<ul>
1388+
<li>english one
1389+
1390+
<li dir=rtl>OWT WERBEH
1391+
1392+
<li>english three
1393+
1394+
<li dir=rtl>RUOF WERBEH
1395+
</ul>
1396+
1397+
<td>
1398+
<ul>
1399+
<li>english one
1400+
1401+
<li>OWT WERBEH
1402+
1403+
<li>english three
1404+
1405+
<li>RUOF WERBEH
1406+
</ul>
1407+
</table>
1408+
</div>
13591409
<!-- ===================================================================== -->
13601410

13611411
<h2 id=counter-style><span class=secno>8. </span> Defining Custom Counter

css3-lists/Overview.src.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,41 @@ <h3 id='marker-attachment'>
775775

776776
<p>When a list item has ''marker-attachment:list-item'', any <i title='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 <i title='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 <a href="#position-marker">position:marker</a>.</p>
777777

778+
<div class='example'>
779+
<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:</p>
780+
781+
<pre>
782+
&lt;ul>
783+
&lt;li>english one
784+
&lt;li dir=rtl>OWT WERBEH
785+
&lt;li>english three
786+
&lt;li dir=rtl>RUOF WERBEH
787+
&lt;/ul></pre>
788+
789+
<table class=data style="width: 35em;">
790+
<thead>
791+
<tr>
792+
<th>list-item
793+
<th>list-container
794+
<tbody>
795+
<tr>
796+
<td style="border-right: thin solid">
797+
<ul>
798+
<li>english one
799+
<li dir=rtl>OWT WERBEH
800+
<li>english three
801+
<li dir=rtl>RUOF WERBEH
802+
</ul>
803+
<td>
804+
<ul>
805+
<li>english one
806+
<li>OWT WERBEH
807+
<li>english three
808+
<li>RUOF WERBEH
809+
</ul>
810+
</table>
811+
</div>
812+
778813

779814

780815
<!-- ===================================================================== -->

0 commit comments

Comments
 (0)