blob: 0e3ea6a59a9127b162e228f57227e1d3e95d127d [file] [edit]
<html>
<head>
<style>
#quote {
zoom: 52%;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function insertSearchInput() {
var documentSelection = document.getSelection();
documentSelection.setPosition(quote);
var inputElementOuterHTML = inputElement.outerHTML;
document.execCommand("insertHTML", false, inputElementOuterHTML);
}
</script>
</head>
<body onload="insertSearchInput()">
<p>This test passes if it does not crash in debug.</p>
<input id="inputElement" type="search" >
<blockquote id="quote" contenteditable="plaintext-only" ></blockquote>
</body>