Skip to content

Commit 2493c61

Browse files
committed
[css-pseudo-4] Fix fictional tag sequence example error.
1 parent 56ff922 commit 2493c61

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

css-pseudo-4/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,18 +226,18 @@ Inheritance and the ''::first-line'' Pseudo-element</h4>
226226
The first line will be styled
227227
by the ‘::first-line’ pseudo-element.
228228
The other lines will be treated
229-
as ordinary lines in the paragraph.&lt;/P&gt;
229+
as ordinary lines in the paragraph.&lt;/p&gt;
230230
</pre>
231231

232232
And in the case of the second rendering:
233233

234234
<pre class="lang-markup">
235-
&lt;P&gt;<strong>&lt;p::first-line></strong>This is a somewhat long<strong>&lt;/p::first-line></strong> HTML paragraph
235+
&lt;p&gt;<strong>&lt;p::first-line></strong>This is a somewhat long<strong>&lt;/p::first-line></strong> HTML paragraph
236236
that will be broken into several lines.
237237
The first line will be styled
238238
by the ‘::first-line’ pseudo-element.
239239
The other lines will be treated
240-
as ordinary lines in the paragraph.&lt;/P&gt;
240+
as ordinary lines in the paragraph.&lt;/p&gt;
241241
</pre>
242242
</div>
243243

@@ -251,24 +251,24 @@ Inheritance and the ''::first-line'' Pseudo-element</h4>
251251
with a <code>span</code> element encompassing the first sentence:
252252

253253
<pre class="lang-markup">
254-
&lt;P&gt;<strong>&lt;span></strong>This is a somewhat long HTML paragraph
254+
&lt;p&gt;<strong>&lt;span></strong>This is a somewhat long HTML paragraph
255255
that will be broken into several lines.<strong>&lt;/span></strong>
256256
The first line will be styled
257257
by the ‘::first-line’ pseudo-element.
258258
The other lines will be treated
259-
as ordinary lines in the paragraph.&lt;/P&gt;
259+
as ordinary lines in the paragraph.&lt;/p&gt;
260260
</pre>
261261

262262
The effect of the first rendering
263263
would be similar to the following [=fictional tag sequence=]:
264264

265265
<pre class="lang-markup">
266-
&lt;P&lt;P&gt;<strong>&lt;p::first-line>&lt;span></strong>This is a somewhat long HTML paragraph
267-
that<strong>&lt;/span>&lt;/P&gt;&lt;p::first-line>&lt;span></strong> will be broken into several lines.<strong>&lt;/span></strong>
266+
&lt;p&gt;<strong>&lt;p::first-line>&lt;span></strong>This is a somewhat long HTML paragraph
267+
that<strong>&lt;/span>&lt;/p::first-line>&lt;span></strong> will be broken into several lines.<strong>&lt;/span></strong>
268268
The first line will be styled
269269
by the ‘::first-line’ pseudo-element.
270270
The other lines will be treated
271-
as ordinary lines in the paragraph.&lt;/P&gt;
271+
as ordinary lines in the paragraph.&lt;/p&gt;
272272
</pre>
273273
</div>
274274

0 commit comments

Comments
 (0)