summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/disabled-2-notref.html
blob: ecce9e7054cf8569f9e1ad6c36f2e531a0c1c298 (plain)
1
2
3
4
5
6
7
8
<!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();
}
</script>