Skip to content

Commit e80f328

Browse files
committed
[css-pseudo-4] Move paragraphs around.
1 parent 683cfb0 commit e80f328

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

css-pseudo-4/Overview.bs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ The ::first-letter pseudo-element</h3>
278278

279279
The <dfn>::first-letter</dfn> pseudo-element represents
280280
the first <a>typographic letter unit</a> [[!CSS-TEXT-3]]
281-
on the <a>first formatted line</a> of its <a>originating element</a>.
281+
on the <a>first formatted line</a> of its <a>originating element</a>,
282+
its <dfn>first-letter text</dfn>.
282283
The ''::first-letter'' pseudo-element can be used
283284
to create “initial caps” and “drop caps”,
284285
which are common typographic effects.
@@ -292,20 +293,6 @@ The ::first-letter pseudo-element</h3>
292293
</pre>
293294
</div>
294295

295-
Punctuation (i.e, characters that belong to the Punctuation (<code>P*</code>) <a>Unicode general category</a> [[!UAX44]])
296-
that precedes or follows the first <a>typographic letter unit</a>
297-
and any intervening space separators
298-
(characters that belong to the <code>Zs</code> Unicode general category [[!UAX44]])
299-
must also be included as part of the <dfn>first-letter text</dfn>
300-
in the ''::first-letter'' pseudo-element.
301-
302-
<div class="figure">
303-
<img alt="Quotes that precede the first letter should be included." src="images/first-letter2.gif">
304-
</div>
305-
306-
Note: Note that the first <a>typographic letter unit</a> may in fact
307-
be a digit, e.g., the “6” in “67 million dollars is a lot of money.”
308-
309296
As explained in [[!CSS-TEXT-3]],
310297
a <a>typographic letter unit</a> can include more than one Unicode codepoint.
311298
For example, combining characters must be kept with their base character.
@@ -317,6 +304,20 @@ The ::first-letter pseudo-element</h3>
317304
the UA should tailor its definition of <a>typographic letter unit</a>
318305
to reflect the first-letter traditions of the ''::first-letter'' pseudo-element’s <em>containing block</em>’s content language.
319306

307+
Note: Note that the first <a>typographic letter unit</a> may in fact
308+
be a digit, e.g., the “6” in “67 million dollars is a lot of money.”
309+
310+
Punctuation (i.e, characters that belong to the Punctuation (<code>P*</code>) <a>Unicode general category</a> [[!UAX44]])
311+
that precedes or follows the first <a>typographic letter unit</a>
312+
and any intervening space separators
313+
(characters that belong to the <code>Zs</code> Unicode general category [[!UAX44]])
314+
must also be included as part of the [=first-letter text=]
315+
in the ''::first-letter'' pseudo-element.
316+
317+
<div class="figure">
318+
<img alt="Quotes that precede the first letter should be included." src="images/first-letter2.gif">
319+
</div>
320+
320321
<h4 id="first-letter-application">
321322
Finding the First Letter Text</h4>
322323

0 commit comments

Comments
 (0)