OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <p id="description">This test setting a suggested value on an input element. | 4 <p id="description">This test setting a suggested value on an input element. |
5 The dump below should have the "suggested value" instead of "initial value".</p> | 5 The dump below should have the "suggested value" instead of "initial value".</p> |
6 <pre><input id="test" type="text" value="initial value"></pre> | 6 <pre><input id="test" type="text" value="initial value"></pre> |
7 <script src="../../resources/dump-as-markup.js"></script> | 7 <script src="../../resources/dump-as-markup.js"></script> |
8 <script> | 8 <script> |
9 | 9 |
10 var input = document.getElementById('test'); | 10 var input = document.getElementById('test'); |
(...skipping 13 matching lines...) Expand all Loading... |
24 addTextResult('internals.suggestedValue(input)'); | 24 addTextResult('internals.suggestedValue(input)'); |
25 addTextResult('input.selectionStart'); | 25 addTextResult('input.selectionStart'); |
26 addTextResult('input.selectionEnd'); | 26 addTextResult('input.selectionEnd'); |
27 | 27 |
28 Markup.dump(input.parentNode); | 28 Markup.dump(input.parentNode); |
29 } | 29 } |
30 | 30 |
31 </script> | 31 </script> |
32 </body> | 32 </body> |
33 </html> | 33 </html> |
OLD | NEW |