summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/disabled-2.html
blob: fc61d29563278156d58b568ee2038c469a74521f (plain)
1
2
3
4
5
6
7
8
9
<!doctype html>
<input id="outside" style="position: absolute; left: 200vw;"> <!-- intentionally out of view -->
<iframe srcdoc="<!doctype html>Something inside <input value='some input'>"></iframe>
<script>
onload = function() {
  document.querySelector("iframe").contentDocument.querySelector("input").select();
  document.getElementById("outside").select();
}
</script>