| <!DOCTYPE html> |
| <head> |
| <style> |
| div:before { |
| content: url(../../accessibility/resources/cake.png); |
| } |
| </style> |
| </head> |
| <script src="resources/move-by-word-visually.js"></script> |
| <script> |
| |
| onload = function() { |
| try { |
| runTest(); |
| document.body.innerHTML = "Crash test passed"; |
| } finally { |
| } |
| }; |
| |
| if (window.testRunner && window.internals) { |
| testRunner.dumpAsText(); |
| internals.settings.setEditingBehavior('windows'); |
| } |
| </script> |
| <div contenteditable dir=ltr> |
| <div title="0|0" class="test_move_by_word" dir=ltr>in div 1</div> |
| <div title="0|0" class="test_move_by_word" dir=ltr><img src=../../accessibility/resources/cake.png></div> |
| <h1>text area</h1> |
| </div> |