Skip to content

Commit 7b28167

Browse files
committed
[css-lists-3] Limit examples to things that are currently valid. #1807
1 parent 57157ca commit 7b28167

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

css-lists-3/Overview.bs

+7-9
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ The ''::marker'' Pseudo-Element</h3>
129129
}
130130
p.note::marker {
131131
content: "Note " counter(note-counter) ":";
132-
text-align: left;
133-
width: 10em;
134132
}
135133
</style>
136134
<p>This is the first paragraph in this document.
@@ -141,20 +139,20 @@ The ''::marker'' Pseudo-Element</h3>
141139
It should render something like this:
142140

143141
<pre>
144-
This is the first paragraph
145-
in this document.
142+
This is the first paragraph
143+
in this document.
146144

147-
Note 1: This is a very short
148-
document.
145+
Note 1: This is a very short
146+
document.
149147

150-
This is the end.
148+
This is the end.
151149
</pre>
152150
</div>
153151

154152
<div class="example">
155153
By using the ''::marker'' pseudo-element,
156-
a list's markers can be positioned much more flexibly,
157-
and even be styled independently from the text of the list item itself:
154+
a list's markers can be styled
155+
independently from the text of the list item itself:
158156

159157
<xmp highlight=html>
160158
<style>

0 commit comments

Comments
 (0)