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