[csswg-drafts] [css-inline-3] Do not expand `text-box` value definition? (#10698)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] Do not expand `text-box` value definition? ==
I see two drawbacks to [this](https://drafts.csswg.org/css-inline-3/#text-box-shorthand):

  > **Issue 13:** This propdef table is fully expanded to evaluate and adjust the shorthand’s value space. It simplifies down to `<text-box-trim> || <text-box-edge>` minus the `none` and `auto` keywords.

First, this is error prone and slightly more maintenance work when you add a new longhand value.

Second, depending on the CSS parser, this may require more implementation work than making `none` and `auto` invalid.

***Nit:*** the fully expanded value definition would be `normal | [<'text-box-trim'> || <'text-box-edge'>]`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10698 using your GitHub account


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

Received on Tuesday, 6 August 2024 07:06:34 UTC