summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/disabled-2-notref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/selection/disabled-2-notref.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/reftests/selection/disabled-2-notref.html b/layout/reftests/selection/disabled-2-notref.html
new file mode 100644
index 0000000000..ecce9e7054
--- /dev/null
+++ b/layout/reftests/selection/disabled-2-notref.html
@@ -0,0 +1,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>