Bug 201453
| Summary: | scrollWidth of input elements does not include paddings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | gabriele <gpetrioli+webkit-bugzilla> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 12 | ||
| Hardware: | Mac | ||
| OS: | macOS 10.14 | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=236142 | ||
gabriele
According to the specs the `scrollWidth` should include the paddings.
The bug is that for `input` element this does not happen, while it does for other elements like `div`.
Testcase: https://jsfiddle.net/bjg06pLq/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/55146231>
Ahmad Saleem
I am doing PR in bug 250383 so marking this as duplicate.
*** This bug has been marked as a duplicate of bug 250383 ***