- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Sep 2024 13:07:05 +0000
- To: public-css-archive@w3.org
@yisibl - So this is because by default `<input>` is `display: inline-block` if you change it to `display: block` it'll switch behaviour to the block-level new formatting-context behaviour. `display: inline-block` receives the full containing block available inline-size (e.g. https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=13124 ). Its somewhat complex as to _why_ this is, but basically things that sit in a linebox have different rules to a block-level new FC. -- GitHub Notification of comment by bfgeek Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4028#issuecomment-2374038995 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 September 2024 13:07:06 UTC