Re: [csswg-drafts] [css-pseudo] Multi-line ::first-letter (#2254)

> My impression when we discussed it was that we were focused on what happens when we wrap the line in the middle of what would otherwise be the first letter

Yes, that's true.

> the minuted discussion, and the recorded resolution only cover the first case

Well, the minutes say:

> `<dael>` oriol: First would be to standardize what FF, old Edge, and WK do which is that if you don't have a typographic letter unit then the first-letter is allowed to match the punct.
> `<dael>` Rossen_: Feedback? Any reason why we shouldn't adopt FF behavior?

But it's true that the recorded resolution only covers the main part.

> I don't think changing the behavior of webkit and chrome makes sense here

WebKit doesn't need to change this (it only needs to change that text in the 2nd line shouldn't be affected by ::first-leter), because it's already matching punctuation alone. All browser do, except Blink. So it seems simpler if it's Blink the one who changes.

It's a corner case and I'm not against saying that ::first-letter doesn't match punctuation alone if that's what most people prefer. It's just that the opposite is simpler for most implementations, and seems more consistent to me.

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


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

Received on Monday, 10 January 2022 16:59:34 UTC