blob: 5a775298d3f759c6d44860dff5bbae6b91b9fabf [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 "WebKit". Selection should extend only in the input element that contains "hello".</p>
<div id="test">
<input id="from" type="text" value="hello" readonly>
<span>world</span>
<input id="to" type="text" value="WebKit" readonly>
</div>
<script src="resources/select-across-readonly-input.js"></script>
</body>
</html>