| Summary: | weird input[type=number] incr/decrement button behavior at odd-numbered font sizes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Rebert <webkit> | ||||
| Component: | Forms | Assignee: | Antonio Gomes <tonikitoo> | ||||
| Status: | ASSIGNED --- | ||||||
| Severity: | Normal | CC: | ahmad.saleem792, hnrch02+webkit, jonlee, ntim, p.jacquemart, roger_fong, simon.fraser, tonikitoo, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | HasReduction, InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Mac (Intel) | ||||||
| OS: | OS X 10.11 | ||||||
| URL: | http://jsfiddle.net/FFXEc/ | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 159753 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Rebert
2014-09-30 14:24:29 PDT
Still broken in Safari version 8.0 (10600.1.25) on OS X Yosemite. Created attachment 252499 [details]
Copy of JS Fiddle example
Still reproduces in Safari version 9.0.3 (11601.4.4) (In reply to comment #4) > Still reproduces in Safari version 9.0.3 (11601.4.4) I will take a look at this. It's probably because the placeholder renderer for the increment/decrement button is the height of the button element while the actual widget (for obvious reasons) is not scaled up to it. The fix is to size and position the placeholder renderer in sync with the widget. (In reply to comment #6) > It's probably because the placeholder renderer for the increment/decrement > button is the height of the button element while the actual widget (for > obvious reasons) is not scaled up to it. The fix is to size and position the > placeholder renderer in sync with the widget. Though it might be a bit difficult as it's all flexbox driven afair. Fixed recently in Chromium / Blink as well - https://chromium.googlesource.com/chromium/src.git/+/f75283abf000d956d99336f5762c4ff215ef44fb Might not be exact fix but good to at least tag for even importing text etc. (In reply to Ahmad Saleem from comment #8) > Fixed recently in Chromium / Blink as well - > https://chromium.googlesource.com/chromium/src.git/+/ > f75283abf000d956d99336f5762c4ff215ef44fb > > Might not be exact fix but good to at least tag for even importing text etc. Just checked and we can merge this, it seems. (In reply to Ahmad Saleem from comment #9) > (In reply to Ahmad Saleem from comment #8) > > Fixed recently in Chromium / Blink as well - > > https://chromium.googlesource.com/chromium/src.git/+/ > > f75283abf000d956d99336f5762c4ff215ef44fb > > > > Might not be exact fix but good to at least tag for even importing text etc. > > Just checked and we can merge this, it seems. Feel free to submit a PR :) (In reply to Tim Nguyen (:ntim) from comment #10) > (In reply to Ahmad Saleem from comment #9) > > (In reply to Ahmad Saleem from comment #8) > > > Fixed recently in Chromium / Blink as well - > > > https://chromium.googlesource.com/chromium/src.git/+/ > > > f75283abf000d956d99336f5762c4ff215ef44fb > > > > > > Might not be exact fix but good to at least tag for even importing text etc. > > > > Just checked and we can merge this, it seems. > > Feel free to submit a PR :) Doing local build but it might involve to merge this as well: https://source.chromium.org/chromium/chromium/src/+/2e5cf9f34b1ee2d0616be5f29501166021006416 (In reply to Ahmad Saleem from comment #8) > Fixed recently in Chromium / Blink as well - > https://chromium.googlesource.com/chromium/src.git/+/ > f75283abf000d956d99336f5762c4ff215ef44fb > > Might not be exact fix but good to at least tag for even importing text etc. Merging just this definitely leads to regression and in some cases the increment button get stuck and even if we lose focus, it continues to increment till we don't refresh page. Just noticed on local build using test case from Comment 0. |