Re: [csswg-drafts] [css-display-4] Add inner and outer display properties (#4729)

> Like, I cannot see why we can't allow `display: flex inline none`

With a separate longhand that controls the display of the box within the box tree (e.g. a `display-box` longhand), we don't necessarily need a third value for the `display` shorthand. Instead, the `none` or non-`none` value (name TBD) could be set implicitly, like `border: 2px solid` sets `border-color` to its initial value `currentcolor`.

Taking your example, a `display flex inline;` would then set `display-box` to the non-`none` value. And you could overwrite it via `display-box: none;`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4729#issuecomment-1740810312 using your GitHub account


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

Received on Friday, 29 September 2023 12:26:05 UTC