Re: [csswg-drafts] [css-forms] Allow making <button> a real inline

I don't like that the kind of box that is generated depends on the `display` value of the children, because the computed `display` value of the children depends on the formatting context in which they participate.

IMO a better way to approach this would be adding a new CSS property which can force an element to establish an [independent formatting context](https://drafts.csswg.org/css-display-3/#independent-formatting-context) (or behave like an inline-block if it's a non-replaced inline). Enable this on buttons via UA stylesheet, but let authors revert it to normal behavior.

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

Received on Friday, 19 October 2018 22:13:30 UTC