Re: [csswg-drafts] [css‑text‑4] Multi‑value `white‑space` syntax proposal (#5382)

The CSS Working Group just discussed ``[css‑text‑4] Multi‑value `white‑space` syntax proposal``, and agreed to the following:

* `RESOLVED: Accept the proposed addition to the 'white-space' grammar.`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> https://drafts.csswg.org/css-text-4/#white-space-property<br>
&lt;TabAtkins> fantasai: AS part of making white-sapce a shorthand, usually we allow shorthand to express all the longhands<br>
&lt;TabAtkins> fantasai: Currently shorthand for three props<br>
&lt;TabAtkins> fantasai: This proposal lets us use all the values of any of those props. Old stuff still allowed, just an extension. Luckily no keywords conflict.<br>
&lt;TabAtkins> fantasai: It's more or less what's in the table in the issue, except break-spaces maps to a break-spaces value for white-space-collapse.<br>
&lt;TabAtkins> fantasai: So is it okay to do this inlining?<br>
&lt;TabAtkins> fantasai: Second q, for the longhands, are these the keywords we want? They're a little different from the keywords we had in white-space before, but they're clearer in what they mean.<br>
&lt;florian> q+<br>
&lt;Rossen_> ack florian<br>
&lt;TabAtkins> florian: As part of this rename there was the suggestion that nowrap doesn't have a hyphen, suggestion to fix that.<br>
&lt;lea> +1 to florian, benefits here too marginal to be worth the confusion<br>
&lt;TabAtkins> florian: I'd advise not to do it - having nowrap in the shorthand but no-wrap in th elonghand would be confusing<br>
&lt;fantasai> s/fix that/fix that by having the longhand use 'no-wrap'/<br>
&lt;fantasai> TabAtkins: I still think it would be worthwhile to have 'no-wrap' as an alias across all properties<br>
&lt;fantasai> ... but also fine not to do that<br>
&lt;TabAtkins> Rossen_: We can start conservative, this would be an added behavior.<br>
&lt;fantasai> PROPOSAL: Adopt  &lt;'white-space-collapse'> || &lt;'text-wrap'> || &lt;'white-space-trim'> as values for white-space shorthand<br>
&lt;TabAtkins> Rossen_: Any objections to this white-space shorthand?<br>
&lt;TabAtkins> RESOLVED: Accept the proposed addition to the 'white-space' grammar.<br>
</details>


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


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

Received on Wednesday, 29 March 2023 16:20:45 UTC