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

I don't think you can explain all the `<button>` magic just by adding an inner box.

For example, `height` doesn't apply to non-replaced inlines, but a `<button>` obeys `height` even with `display: inline`. Also, the `::part(button-contents) { display: flow-root }` which you include in the default UA stylesheet would split a non-replaced inline `<button>`.

So it seems `<button>` always needs to be replaced, not just "if the element is absolutely positioned" or "For the purpose of the ‘normal’ keyword of the ‘align-self’ property".

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

Received on Friday, 19 October 2018 14:29:41 UTC