<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
// p.Foo is not valid JSON and should generate a parser error, and be ignored | |
Styles_setCSSText(" ",{ "p": { "-uxwrite-next": "p.Foo" } }); | |
Cursor_enterPressed(); | |
Selection_preserveWhileExecuting(showEmptyTextNodes); | |
showSelection(); | |
} | |
</script> | |
</head> | |
<body> | |
<p id="item1">Sample t[]ext</p> | |
</body> | |
</html> |