[csswg-drafts] [css-inline] Line breaks inside drop-caps?

litherum has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline] Line breaks inside drop-caps? ==
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>. &hellip;</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.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2886 using your GitHub account

Received on Friday, 6 July 2018 00:40:42 UTC