W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Jan 2021 17:55:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-759616472-1610560524-sysbot+gh@w3.org>
The CSS Working Group just discussed `[css-pseudo] Multi-line ::first-letter`, and agreed to the following:

* `RESOLVED: ::first-letter pseudo element is closed at the end of the line even if the content that would otherwise be part of it is wrapped to the next line`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-pseudo] Multi-line ::first-letter<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/2254<br>
&lt;dael> oriol: Problem is theoretically first-letter should be in first-line. If block container is narrow enough it can happen that first-letter will span multiple lines.<br>
&lt;dael> oriol: I had a proposal to try to define how this should behave.<br>
&lt;dael> oriol: Some parts to this proposal<br>
&lt;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.<br>
&lt;dael> oriol: If you have both punct and letter you incldue both. If you don't it's allowed to only have punct.<br>
&lt;dael> oriol: Second would be if first-letter could span multi-line we restrict it to first-line so it can inherit.<br>
&lt;dael> oriol: Browser that does both parts of this proposal is FF<br>
&lt;dael> Rossen_: Feedback? Any reason why we shouldn't adopt FF behavior?<br>
&lt;dael> Rossen_: Objections to adopt the FF behavior which allows us to...want to make sure we have right resolution<br>
&lt;dael> fantasai: Summary: first-letter speduo element is closed at the end of the line even if the content that would otherwise be part of it is wrapped to the next line<br>
&lt;tantek> +1 that's a good summary fantasai<br>
&lt;dael> Rossen_: Objections?<br>
&lt;dael> RESOLVED: ::first-letter pseudo element is closed at the end of the line even if the content that would otherwise be part of it is wrapped to the next line<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-759616472 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 January 2021 17:55:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC