Bug 201453

Summary: scrollWidth of input elements does not include paddings
Product: WebKit Reporter: gabriele <gpetrioli+webkit-bugzilla>
Component: Layout and RenderingAssignee: 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
Reported 2019-09-04 02:51:58 PDT
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
Radar WebKit Bug Importer
Comment 1 2019-09-07 08:55:54 PDT
Ahmad Saleem
Comment 2 2023-03-01 09:59:33 PST
I am doing PR in bug 250383 so marking this as duplicate. *** This bug has been marked as a duplicate of bug 250383 ***
Note You need to log in before you can comment on or make changes to this bug.