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

The CSS Working Group just discussed `Multi-line ::first-letter`, and agreed to the following:

* `RESOLVED: Restriuction will be relaxed to allow punctuation-only matching`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> Topic: Multi-line ::first-letter<br>
&lt;emeyer> github: https://github.com/w3c/csswg-drafts/issues/2254<br>
&lt;fantasai> -> https://github.com/w3c/csswg-drafts/issues/2254#issuecomment-1367476156<br>
&lt;emeyer> oriol: We discussed in the past what happens if first-letter container is very narrow<br>
&lt;emeyer> …And then would span multiple lines<br>
&lt;emeyer> …We resolved to clamp to match characters in the first line<br>
&lt;emeyer> …Focus of the previous proposal was not addressing this question<br>
&lt;emeyer> …Better to discuss this and clarify<br>
&lt;emeyer> …So: what to do if the first-letter container only contains punctuation?<br>
&lt;emeyer> …Spec currently selects punctuation if there’s another letter character that appears later in the container<br>
&lt;emeyer> …This seems strange; if the letter character is in another line and you remove it, this suddenly makes the first-letter able to match punctuation characters<br>
&lt;emeyer> s/able/unable/<br>
&lt;emeyer> …first-letter should only be allowed to match punctuation<br>
&lt;emeyer> …I think Gecko’s behavior makes more sense<br>
&lt;emeyer> …Some prefer the specification as it is now<br>
&lt;emeyer> Rossen_: Opinions?<br>
&lt;emeyer> (silence)<br>
&lt;emeyer> Rossen_: Any objections to resolving on the option to use Gecko’s behavior?<br>
&lt;emeyer> iank_: Basically logic UAs use to skip punctuation characters would have that logic removed?<br>
&lt;emeyer> oriol: Yes, since the only one affected would be Blink, it would need to start matching punctuation-only containers<br>
&lt;emeyer> Rossen_: I believe the answer is yes, Blink can stop skipping punctuation-only<br>
&lt;emeyer> RESOLVED: Restriuction will be relaxed to allow punctuation-only matching<br>
&lt;emeyer> s/Restriuction/Restriction/<br>
</details>


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


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

Received on Wednesday, 25 January 2023 17:33:38 UTC