Bug 294877
| Summary: | Intrinsic size of number inputs is incorrect when spin button width is a percentage value | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> |
| Component: | Forms | Assignee: | Aditya Keerthi <akeerthi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Aditya Keerthi
<style>
input::-webkit-inner-spin-button {
appearance: none;
width: 50%;
background: red;
}
</style>
<input type="number" min="0" max="10">
We currently use the percentage value as a pixel value, which is wrong.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/154680747>
Aditya Keerthi
Pull request: https://github.com/WebKit/WebKit/pull/47381
EWS
Committed 296850@main (0bd77658c08b): <https://commits.webkit.org/296850@main>
Reviewed commits have been landed. Closing PR #47381 and removing active labels.