Crash in previousLinePosition when moving into a root inline box without leaves
[WebKit-https.git] / LayoutTests / editing / selection / move-into-empty-root-inline-box.html
1 <!DOCTYPE html><html><body><br><label style="margin-left: inherit;"></label><script>
2
3 if (window.layoutTestController)
4     layoutTestController.dumpAsText();
5
6 getSelection().setPosition(document.querySelector('br'), 0);
7 getSelection().modify("move","forward","paragraph");
8 document.writeln("This tests moving into an empty root inline boxes. The test passes as long as WebKit doesn't crash.");
9
10 </script></body></html>