Skip to content

Commit 255a02e

Browse files
committed
[css-pseudo] typo, and make example look better
1 parent d074ccc commit 255a02e

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

css-pseudo/Overview.bs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ Overlapping Pseudo-element Interactions</h2>
737737
the ''::first-letter'' boundaries are tightly wrapped around the first letter text,
738738
and ''::first-letter'' is constrained to exist solely on the first formatted line.
739739
<li>
740-
the ''::first-line'' start is inserted inserted just inside the containing block's element boundary,
740+
the ''::first-line'' start is inserted just inside the containing block's element boundary,
741741
and its end after the close of all content on the line
742742
</ul>
743743

@@ -758,16 +758,17 @@ Overlapping Pseudo-element Interactions</h2>
758758

759759
Assuming that a line break will occur before the word "ends",
760760
the <a>fictional tag sequence</a> for this fragment might be:
761-
<pre>
762-
&lt;P&gt;
763-
&lt;P::first-line&gt;
764-
&lt;P::first-letter&gt;
765-
S
766-
&lt;/P::first-letter&gt;ome text that
767-
&lt;/P::first-line&gt;
768-
ends up on two lines
769-
&lt;/P&gt;
770-
</pre>
761+
<xmp>
762+
<p>
763+
<p::first-line>
764+
<p::first-letter>
765+
S
766+
</p::first-letter>
767+
ome text that
768+
</p::first-line>
769+
ends up on two lines
770+
</p>
771+
</xmp>
771772
</div>
772773

773774
<h2 id="cssom">

0 commit comments

Comments
 (0)