Re: [csswg-drafts] [css-text] Line-end behavior of text-spacing-trim: space-first (#9736)

The CSS Working Group just discussed `[css-text] Line-end behavior of text-spacing-trim: space-first`, and agreed to the following:

* `RESOLVED: The definition of space-first uses allow-end on the end side.`

<details><summary>The full IRC log of that discussion</summary>
&lt;frances> Alan: Then we have text-spacing-trim<br>
&lt;frances> Florian: implied in this included in the resolution, what should be the line ending behavior of text-space first? Choice between force trimming and allow trimming<br>
&lt;frances> Florian: If we always allow trimming at the end, could be a little strange about left edge and slightly moved right edge. If inline block and force trim the end, with a single line space first, trim and then inline might look weird, possibly floats<br>
&lt;astearns> ack fantasai<br>
&lt;frances> Florian: Special case for inline and special case for floats. Could be improved by force-trimming on the end, will be a compromise. We had resolve to change, need to be deliberate.<br>
&lt;frances> fantasai: Awkward lack of symmetry trimming with forced trimming on any text, any positioning. If space first, allow trimming on the other side.<br>
&lt;fantasai> s/any text/any text that's a single line/<br>
&lt;fantasai> s/any positioning/e.g. abspos, floats, etc./<br>
&lt;frances> Alan: Happy to differ, is this something that we can define and change in the future?<br>
&lt;astearns> s/differ/defer/<br>
&lt;frances> fantasai: possibly shouldn't define it, already making some choice to the initial value, some tweaking that can be done, decide today what can be done.<br>
&lt;frances> Florian: If exceptional handling for floats and inline blocks, might be cases where it is better for force-end, this is safer.<br>
&lt;frances> Alan: The definition of space-first is to allow the style on the end side.<br>
&lt;fantasai> https://drafts.csswg.org/css-text-4/#text-spacing-trim-property<br>
&lt;frances> florian: An alternative would be to trim on the end side,.<br>
&lt;frances> Alan: Have not read everything in the issue, should we do anything for the last line?<br>
&lt;astearns> Proposed: The definition of space-first uses allow-end on the end side.<br>
&lt;frances> Alan: did not raise it in GitHub, should we have a separate issue?<br>
&lt;frances> Florian: Could have issues in combat, should we only do it for last line or all of the lines?<br>
&lt;frances> Alan: Any objections?<br>
&lt;astearns> RESOLVED: The definition of space-first uses allow-end on the end side.<br>
&lt;bkardell_> s/combat/compat ?<br>
</details>


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


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

Received on Wednesday, 10 January 2024 16:43:29 UTC