Re: [csswg-drafts] [css-pseudo-4][css-page-floats][css-inline] Float and first-letter pseudo-element interaction missing from the latest specs (#8842)

The CSS Working Group just discussed `[css-pseudo-4][css-page-floats][css-inline] Float and first-letter pseudo-element interaction missing from the latest specs`, and agreed to the following:

* `RESOLVED: Accept Elika's bullet points in the last comment`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> -> https://github.com/w3c/csswg-drafts/issues/8842#issuecomment-2762607744<br>
&lt;TabAtkins> fantasai: some issues needed to be clarified, and some unclear details<br>
&lt;TabAtkins> fantasai: but i think we should say that if initial-letter is anything bu tnormal, we ignore float<br>
&lt;TabAtkins> fantasai: otherwise, if float is on the ::first-letter, behavior is impl-defined. And deprecated.<br>
&lt;TabAtkins> fantasai: I think that should address most concerns.<br>
&lt;TabAtkins> (sounds good to me)<br>
&lt;TabAtkins> florian: when you say impl-defined, how broadly do you mean this? "it must work, but impl defined how it works" or "whether it does anything at all is impl defined"?<br>
&lt;TabAtkins> fantasai: the latter, no real requirements at all on it<br>
&lt;kizu> q+<br>
&lt;TabAtkins> fantasai: if we defined this today, we would not make float work<br>
&lt;TabAtkins> florian: probably true. it is working on browsers today tho, with some differences, right?<br>
&lt;astearns> ack kizu<br>
&lt;TabAtkins> fantasai: yeah, so that's a web-compat decision they can make about what they want to continue to do. but otherwise we want to move people to initial-leters<br>
&lt;TabAtkins> kizu: sounds good. some small context<br>
&lt;TabAtkins> kizu: a case initial-letter doesn't cover that float does is shape-outside.<br>
&lt;TabAtkins> kizu: wonder if we could define shape-outside to work with initial-letter. common for it to have ascenders/descenders that you want to wrap text around<br>
&lt;TabAtkins> kizu: this is i think where we had interop issues, if you used initial-letter + float + shape-outside, it didn't correclty work everywhere<br>
&lt;TabAtkins> fantasai: shape-outside is defined, i think, to interact with initial-letter in the spec, i think?<br>
&lt;TabAtkins> kizu: hm, i'll look again, it might have not been there a while ago<br>
&lt;TabAtkins> astearns: i recall adding something for this...<br>
&lt;TabAtkins> fantasai: [reads from the spec about shape-outside]<br>
&lt;TabAtkins> kizu: i'll do more tests and see what we have today<br>
&lt;TabAtkins> astearns: so proposed resolution is to follow what's outlined in the last comment of this issue?<br>
&lt;fantasai> See If the value of shape-outside is not none, shape-outside is used instead of the glyph outline.<br>
&lt;fantasai> In both cases, shape-margin is applied to expand the outline, and the resulting outline is clipped by the initial letter’s margin edges.<br>
&lt;fantasai> https://www.w3.org/TR/css-inline-3/#initial-letter-wrapping<br>
&lt;TabAtkins> astearns: concerns? objections?<br>
&lt;TabAtkins> +1<br>
&lt;TabAtkins> RESOLVED: Accept Elika's bullet points in the last comment<br>
</details>


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


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

Received on Wednesday, 6 August 2025 16:58:25 UTC