Re: [csswg-drafts] [css-inline] Disallow `auto` in `text-box` shorthand (#10748)

The CSS Working Group just discussed ``[css-inline] Disallow `auto` in `text-box` shorthand``, and agreed to the following:

* ``RESOLVED: revert the previous resolution : allow all combinations for `text-box` ``

<details><summary>The full IRC log of that discussion</summary>
&lt;matthieud> fantasai: disallow allow in text-box shorthand because it comes for text-box-edge property<br>
&lt;matthieud> fantasai: because `text-box: auto` is confusing<br>
&lt;matthieud> `text-box: normal` is the same and clearer<br>
&lt;fantasai> s/normal/trim-both/<br>
&lt;matthieud> we should revert the previous resolution and allow all combination<br>
&lt;matthieud> fantasai: we should at least allow `auto` to be combined<br>
&lt;fantasai> text-box: &lt;'text-box-trim'> || &lt;'text-box-edge'><br>
&lt;matthieud> RESOLVED: revert the previous resolution : allow all combinations for `text-box`<br>
&lt;fantasai> https://github.com/w3c/csswg-drafts/issues/10748#issuecomment-2339570832<br>
&lt;matthieud> fantasai: when it is appropriate to disallow a longhand value in a shorthand ?<br>
&lt;matthieud> fantasai: could introduce ambiguity in parsing, could be blocking for the future, how readable is it<br>
&lt;fserb> q+<br>
&lt;matthieud> fantasai: we should have a very clear reason when we disallow a longhand value in shorthand<br>
&lt;matthieud> fantasai:  careful about `auto` keyword also<br>
&lt;Rossen16> ack fserb<br>
&lt;matthieud> fserb:  would this be a principle ?<br>
&lt;matthieud> fantasai: yes<br>
&lt;florian> q?<br>
&lt;matthieud> fantasai: do we anticipate having a keyword `auto` for `text-box` (not the one from `text-box-edge`) ?<br>
&lt;astearns> something to add to https://wiki.csswg.org/spec#coordination-between-specifications?<br>
&lt;matthieud> fantasai: this would be a good reason to disallow<br>
&lt;matthieud> florian: no reason in this specific case<br>
&lt;matthieud> florian: should we upstream that to the "tag design principals" document ?<br>
&lt;fantasai> https://wiki.csswg.org/ideas/principles<br>
</details>


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


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

Received on Wednesday, 16 October 2024 16:39:22 UTC