OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 | 7 |
8 <div id="textbox" contentEditable="true">First<p>Second</p></div> | 8 <div id="textbox" contentEditable="true">First<p>Second</p></div> |
9 | 9 |
10 <div id="console"></div> | 10 <div id="console"></div> |
11 <script> | 11 <script> |
12 description("This test ensures that moving the cursor in a contentEditable sends
a selected text change notification, and typing in a contentEditable sends both
a value changed and selected text changed notification - both on the root eleme
nt that's marked as contentEditable."); | 12 description("This test ensures that moving the cursor in a contentEditable sends
a selected text change notification, and typing in a contentEditable sends both
a value changed and selected text changed notification - both on the root eleme
nt that's marked as contentEditable."); |
13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
14 | 14 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 eventSender.keyDown("y", []); | 51 eventSender.keyDown("y", []); |
52 eventSender.keyDown("z", []); | 52 eventSender.keyDown("z", []); |
53 | 53 |
54 }, 0); | 54 }, 0); |
55 } | 55 } |
56 | 56 |
57 </script> | 57 </script> |
58 | 58 |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |