<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
function performTest() | |
{ | |
Selection_preserveWhileExecuting(function() { | |
var range = Selection_get(); | |
Formatting_splitAroundSelection(range); | |
var outermost = Range_getOutermostNodes(range); | |
Formatting_pushDownInlineProperties(outermost); | |
}); | |
} | |
</script> | |
</head> | |
<body> | |
<p style="font-weight: bold; font-style: italic; text-decoration: underline overline line-through">Here [is some] text</p> | |
</body> | |
</html> |