blob: 8689434e332144b8dcbf67abbb86e2adfb0651b0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
object, nothtmlelement {
display: table-cell;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
var element = document.createElementNS('http://foo', 'nothtmlelement');
document.body.appendChild(element);
document.execCommand('SelectAll');
document.execCommand('RemoveFormat');
document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
};
</script>
</head>
<html>
<body contenteditable="true">
<object>a</object>
</body>
</html>