3 <body style=
"-webkit-user-modify: read-write">
5 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=50012">http://bugs.webkit.org/show_bug.cgi?id=
50012</a>
6 Moving cursor down in table cycles at the end of a row
</i>
8 <table id=
"table"><tr><td id=
"target">Cursor should be at the end
</td></tr></table>
9 <div style=
"-webkit-user-modify: read-only">
10 <script src=../editing.js
></script>
12 if (window
.testRunner
)
13 testRunner
.dumpAsText();
15 var target
= document
.getElementById("target");
16 getSelection().setBaseAndExtent(target
.firstChild
, 0, target
.firstChild
, 0);
17 for (var i
=0; i
< 2; i
++)
18 moveSelectionForwardByLineCommand();
20 document
.write(getSelection().baseOffset
== 4 ? "PASS" : "FAIL: selection.baseOffset = " + getSelection().baseOffset
);