blob: 9ac8e7f7e352b0fc753ee2eac7d7f1f2be4e5226 [file] [log] [blame]
<!DOCTYPE>
<html>
<body>
<p>This test ensures selection that crosses the shadow DOM boundary of a readonly input element cannot be made by a mouse drag.</p>
<p>To manually test, select text by a mouse drag starting in "hello" and ending in "world". Selection should only extend inside the input element.</p>
<div id="test">
<input id="from" type="text" value="hello" readonly>
<span id="to">world</span>
</div>
<script src="resources/select-across-readonly-input.js"></script>
</body>
</html>