<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
Cursor_enterPressed(); | |
var range = Selection_get(); | |
Range_trackWhileExecuting(range,showEmptyTextNodes); | |
var u = document.getElementsByTagName("U")[0]; | |
Selection_set(u,0,u,0); | |
Cursor_insertCharacter("X"); | |
showSelection(); | |
} | |
</script> | |
</head> | |
<body> | |
<ol> | |
<li><p>One</p></li> | |
<li><p><b><i><u>[]Two</u></i></b></p></li> | |
<li><p>Three</p></li> | |
</ol> | |
</body> | |
</html> |