| Summary: | Subpixel Layout: <input type="number"> reports wrong offsetWidth. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> |
| Component: | Layout and Rendering | Assignee: | zalan <zalan> |
| Status: | REOPENED --- | ||
| Severity: | Normal | CC: | webkit |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
*** This bug has been marked as a duplicate of bug 126889 *** Committed r161977: <http://trac.webkit.org/changeset/161977> Bot closed it accidentally. Reopening. |
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