Skip to content

Commit 7cae1be

Browse files
author
dauwhe
committed
[css-inline] Describe behaviour of initial letters in short paragraphs
1 parent 5bfe20d commit 7cae1be

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css-inline/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Issue: Handle glyph ink above cap height of font.
289289

290290
<h4 id="short-para-initial-letter">Short paragraphs with initial letters</h4>
291291

292-
A paragraph with an initial letter may have fewer lines of text than the initial letter occupies. The initial letter acts as if it is a float, and the subsequent para must wrap around it.
292+
A paragraph with an initial letter can have fewer lines of text than the initial letter occupies. In this case, the initial letter’s top alignment is still honored, and its exclusion area continues into any subsequent blocks. This forces the subsequent inline-level content to wrap around the initial letter&mdash;exactly as if that block's text were part of its own containing block. (This is similar to how floats exclude content in subsequent block boxes.)
293293

294294
<figure>
295295
<img src="initial-letter-short-para.png" alt="short para with initial letter" width="600"/>
@@ -298,7 +298,7 @@ A paragraph with an initial letter may have fewer lines of text than the initial
298298

299299
If the subsequent block starts with an initial letter,
300300
establishes a new formatting context,
301-
or specifies 'clear' in the start direction,
301+
or specifies 'clear' in the initial letter’s containing block’s start direction,
302302
then it must clear the previous block’s initial letter.
303303

304304
<figure>

css-inline/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h4 class="heading settled" data-level=2.7.1 id=raised-sunken-caps><span class=s
365365

366366
<h4 class="heading settled" data-level=2.7.2 id=short-para-initial-letter><span class=secno>2.7.2. </span><span class=content>Short paragraphs with initial letters</span><a class=self-link href=#short-para-initial-letter></a></h4>
367367

368-
<p>A paragraph with an initial letter may have fewer lines of text than the initial letter occupies. The initial letter acts as if it is a float, and the subsequent para must wrap around it.</p>
368+
<p>A paragraph with an initial letter can have fewer lines of text than the initial letter occupies. In this case, the initial letter’s top alignment is still honored, and its exclusion area continues into any subsequent blocks. This forces the subsequent inline-level content to wrap around the initial letter—exactly as if that block’s text were part of its own containing block. (This is similar to how floats exclude content in subsequent block boxes.)</p>
369369

370370
<figure>
371371
<img alt="short para with initial letter" src=initial-letter-short-para.png width=600>
@@ -374,7 +374,7 @@ <h4 class="heading settled" data-level=2.7.2 id=short-para-initial-letter><span
374374

375375
<p>If the subsequent block starts with an initial letter,
376376
establishes a new formatting context,
377-
or specifies <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css2/visuren.html#propdef-clear>clear</a> in the start direction,
377+
or specifies <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css2/visuren.html#propdef-clear>clear</a> in the initial letter’s containing block’s start direction,
378378
then it must clear the previous block’s initial letter.</p>
379379

380380
<figure>

0 commit comments

Comments
 (0)