| OLD | NEW |
| 1 Test for size attribute of input | 1 Test for size attribute of input |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS spinButtonWidth is >= 1 | 6 PASS spinButtonWidth is >= 1 |
| 7 The content area of the number input without min/max/step attribute should have
the same width as text input | 7 The content area of the number input without min/max/step attribute should have
the same width as text input |
| 8 PASS number.offsetWidth is text.offsetWidth | 8 PASS number.offsetWidth is text.offsetWidth |
| 9 | 9 |
| 10 The number whose width is specified should respect the setting | 10 The number whose width is specified should respect the setting |
| 11 PASS numberWithWidth.offsetWidth is 100 | 11 PASS numberWithWidth.offsetWidth is 100 |
| 12 PASS numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetW
idth is 100 | 12 PASS numberWithWidth.min = 0; numberWithWidth.max = 100; numberWithWidth.offsetW
idth is 100 |
| 13 | 13 |
| 14 The number input should ignore size attribute for layout | 14 The number input should ignore size attribute for layout |
| 15 PASS number.size = 10; number.offsetWidth is text.offsetWidth | 15 PASS number.size = 10; number.offsetWidth is text.offsetWidth |
| 16 PASS number.size is 10 | 16 PASS number.size is 10 |
| 17 PASS number.size = 100; number.offsetWidth is text.offsetWidth | 17 PASS number.size = 100; number.offsetWidth is text.offsetWidth |
| 18 PASS number.size is 100 | 18 PASS number.size is 100 |
| 19 PASS number.size = null threw exception Error: IndexSizeError: DOM Exception 1. | 19 PASS number.size = null threw exception IndexSizeError: Index or size was negati
ve, or greater than the allowed value.. |
| 20 | 20 |
| 21 If min or max is absent, the number input has the same width as input[type=text] | 21 If min or max is absent, the number input has the same width as input[type=text] |
| 22 PASS numberWidth(0, null, null) is text.offsetWidth | 22 PASS numberWidth(0, null, null) is text.offsetWidth |
| 23 PASS numberWidth(null, 100, null) is text.offsetWidth | 23 PASS numberWidth(null, 100, null) is text.offsetWidth |
| 24 PASS numberWidth(null, null, 100) is text.offsetWidth | 24 PASS numberWidth(null, null, 100) is text.offsetWidth |
| 25 | 25 |
| 26 If step is any, the input[type=text] has the same width as input[type=text] | 26 If step is any, the input[type=text] has the same width as input[type=text] |
| 27 PASS numberWidth(0, 1, "any") is text.offsetWidth | 27 PASS numberWidth(0, 1, "any") is text.offsetWidth |
| 28 PASS numberWidth(0, 10, "any") is text.offsetWidth | 28 PASS numberWidth(0, 10, "any") is text.offsetWidth |
| 29 PASS numberWidth(0, 1.1, "any") is text.offsetWidth | 29 PASS numberWidth(0, 1.1, "any") is text.offsetWidth |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 PASS numberWidth(0.005, 1, 1) is textWidthPlusSpinButtonWidth(5) | 77 PASS numberWidth(0.005, 1, 1) is textWidthPlusSpinButtonWidth(5) |
| 78 PASS numberWidth(1.5, 2, 1) is textWidthPlusSpinButtonWidth(3) | 78 PASS numberWidth(1.5, 2, 1) is textWidthPlusSpinButtonWidth(3) |
| 79 PASS numberWidth(1.05, 2, 1) is textWidthPlusSpinButtonWidth(4) | 79 PASS numberWidth(1.05, 2, 1) is textWidthPlusSpinButtonWidth(4) |
| 80 PASS numberWidth(1.005, 2, 1) is textWidthPlusSpinButtonWidth(5) | 80 PASS numberWidth(1.005, 2, 1) is textWidthPlusSpinButtonWidth(5) |
| 81 PASS numberWidth(123456, 123456, 0.0000005) is textWidthPlusSpinButtonWidth(14) | 81 PASS numberWidth(123456, 123456, 0.0000005) is textWidthPlusSpinButtonWidth(14) |
| 82 | 82 |
| 83 PASS successfullyParsed is true | 83 PASS successfullyParsed is true |
| 84 | 84 |
| 85 TEST COMPLETE | 85 TEST COMPLETE |
| 86 | 86 |
| OLD | NEW |