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

Would be nice to maybe return to this? I, and others (https://mastodon.social/@ollicle/111146605034670150) would really want to see separate properties for these, though usually we'd also want to toggle the `display-box` separately as well.

Like, I cannot see why we can't allow `display: flex inline none`, for example — I would find this closer to how some other properties work like `border`: it is ok to have `border: 2px none pink`, and then when you need a border just toggle `border-style: solid` and get your border as set up previously.

Even more: I think in my practice the most common case was always: to keep the `flow`, `flex` or `grid` intact, then separately toggle `block`/`inline`, _and_ then also toggle `none`/not-`none` (I guess we lack a keyword for this), so you could keep toggling the element on and off while keeping its outer and inner layouts intact.

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4729#issuecomment-1740437388 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 07:32:44 UTC