<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
var selectionRange = Selection_get(); | |
return Formatting_paragraphTextUpToPosition(selectionRange.start); | |
} | |
</script> | |
</head> | |
<body> | |
<p>The <b>quick</b> brown <b>fox <i>jumps <u>ov[]er</u></i> the</b> <b>lazy</b> dog.</p> | |
</body> | |
</html> |