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