OLD | NEW |
1 This tests that the width of textareas and inputs is correctly calculated based
on the metrics of the SVG font. | 1 Selection should be kept after focus changed. |
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 selection.anchorNode is sample |
| 7 PASS selection.anchorOffset is 3 |
| 8 PASS selection.focusNode is sample |
| 9 PASS selection.focusOffset is 6 |
6 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
7 | 11 |
8 TEST COMPLETE | 12 TEST COMPLETE |
9 Textarea offsetWidth: 137 | |
10 Input offsetWidth: 139 | |
11 | 13 |
OLD | NEW |