Summary: | WebKit fails to apply default "align-items:stretch" to radio, checkbox, and button input-types, as flex item | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel Holbert <dholbert> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | bfulgham, emilio, simon.fraser, thorton, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | FromImplementor, InRadar |
Version: | Safari 10 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=210091 https://bugs.webkit.org/show_bug.cgi?id=210093 |
Description
Daniel Holbert
2017-09-26 13:57:09 PDT
Here's an approximate reference case, where I've simply added "height:96px" to all of the flex items: https://jsfiddle.net/671Lebj2/1/ (note the "/1" on the end -- that's the reference version) Interestingly, Safari 10.1 still refuses to grow the <input type="button">, in this example, despite the explicit 'height'. That seems like another bug. But in any case, for the radio button and checkbox, this reference case demonstrates that these widgets *will accept* a larger height, if it's explicitly specified. So, I don't see any reason why they shouldn't get their height stretched via align-items:stretch in the original testcase here. |