Bug 126890

Summary: Subpixel Layout: <input type="number"> reports wrong offsetWidth.
Product: WebKit Reporter: alan <zalan>
Component: Layout and RenderingAssignee: alan <zalan>
Status: REOPENED    
Severity: Normal CC: webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

alan
Reported 2014-01-13 07:18:40 PST
unless the input value is reset (set to 1) in-between 2 queries. shouldBe('numberWidth(0, 1000000, 1)', 'textWidthPlusSpinButtonWidth(7)'); shouldBe('numberWidth(0, 10000000, 1)', 'textWidthPlusSpinButtonWidth(8)'); fails at value '8' while shouldBe('numberWidth(0, 1000000, 1)', 'textWidthPlusSpinButtonWidth(7)'); shouldBe('numberWidth(0, 1, 1)', 'textWidthPlusSpinButtonWidth(1)'); shouldBe('numberWidth(0, 10000000, 1)', 'textWidthPlusSpinButtonWidth(8)'); works ok. LayoutTests/fast/forms/number/number-size.html
Attachments
alan
Comment 1 2014-01-13 21:30:30 PST
*** This bug has been marked as a duplicate of bug 126889 ***
alan
Comment 2 2014-01-14 09:37:09 PST
alan
Comment 3 2014-01-14 09:38:19 PST
Bot closed it accidentally. Reopening.
Note You need to log in before you can comment on or make changes to this bug.