W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

Re: [csswg-drafts] [css-forms] Allow making <button> a real inline (or block/flex/etc) (#3226)

From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Mar 2019 13:43:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-473914829-1552916587-sysbot+gh@w3.org>
@OliverJAsh, interestingly, different browsers seem to have different bits of control over this "magic". Chrome/Mac changes the vertical position of the button contents if I add `flex-direction: column` to the button styles (even without `display: flex`!), Firefox/Mac seems more logical and  changes the position if I apply `display: flex`/`grid` to the button (but not `block`/`flow-root`, unfortunately). 

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3226#issuecomment-473914829 using your GitHub account
Received on Monday, 18 March 2019 13:43:10 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:58 UTC