Re: [csswg-drafts] [css-pseudo-4] Allow intervening space and no-break space in ::first-letter, preceding the letter (#9413)

> I think both should be included in the `::first-letter`.

Agreed.

> Until now the preceding whitespace has been included in WebKit.

And in Blink and Gecko, afaict:
```
data:text/html;charset=utf-8,<style>p{white-space:pre-wrap}p::first-letter{background:cyan}</style>
    <p>     —   O Miss Douce!</p>
```
Shows current browsers including all the preceding spaces (and Firefox 136 also includes the intervening spaces and the "O", since the recent resolution was implemented).


-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9413#issuecomment-2753730433 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 26 March 2025 09:28:31 UTC