@@ -278,7 +278,8 @@ The ::first-letter pseudo-element</h3>
278
278
279
279
The <dfn>::first-letter</dfn> pseudo-element represents
280
280
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> .
282
283
The ''::first-letter'' pseudo-element can be used
283
284
to create “initial caps” and “drop caps”,
284
285
which are common typographic effects.
@@ -292,20 +293,6 @@ The ::first-letter pseudo-element</h3>
292
293
</pre>
293
294
</div>
294
295
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
-
309
296
As explained in [[!CSS-TEXT-3]] ,
310
297
a <a>typographic letter unit</a> can include more than one Unicode codepoint.
311
298
For example, combining characters must be kept with their base character.
@@ -317,6 +304,20 @@ The ::first-letter pseudo-element</h3>
317
304
the UA should tailor its definition of <a>typographic letter unit</a>
318
305
to reflect the first-letter traditions of the ''::first-letter'' pseudo-element’s <em> containing block</em> ’s content language.
319
306
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
+
320
321
<h4 id="first-letter-application">
321
322
Finding the First Letter Text</h4>
322
323
0 commit comments