<!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 "world" and ending in "hello". Selection should not extend into the input element.</p> | |
<div id="test"> | |
<input id="to" type="text" value="hello" readonly> | |
<span id="from">world</span> | |
</div> | |
<script src="resources/select-across-readonly-input.js"></script> | |
</body> | |
</html> |