-
Notifications
You must be signed in to change notification settings - Fork 759
Open
Labels
css-inline-3Current WorkCurrent Work
Description
https://drafts.csswg.org/css-inline-3/#propdef-initial-letter
The spec says
the initial-letter property applies ... to inline-level boxes that are placed at the start of the first line.
And the example shows how you can sink whole phrases:
<p><span><em><b>This phrase</b> is styled</em> <strong>specially</strong>. …</span>
If we apply the following rules:
em { initial-letter: 2; }
b { initial-letter: 3; }
The result might be rendered as
[ADD RENDERING HERE]
THIS PHRASE IS STYLED specially. …
So what happens when there is a line-break in the middle of the sunken content? We shouldn't stack the sunken values.
Metadata
Metadata
Assignees
Labels
css-inline-3Current WorkCurrent Work