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