summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/disabled-1.html
blob: a62971d076fade93746455f5ce3f15eb0dc4d6f4 (plain)
1
2
3
4
5
6
7
8
9
<!doctype html>
<input id="outside" value="abc">
<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>