diff options
Diffstat (limited to 'editor/reftests/selection_visibility_after_reframe.html')
-rw-r--r-- | editor/reftests/selection_visibility_after_reframe.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editor/reftests/selection_visibility_after_reframe.html b/editor/reftests/selection_visibility_after_reframe.html new file mode 100644 index 000000000..b72cec829 --- /dev/null +++ b/editor/reftests/selection_visibility_after_reframe.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> + <body> + <input value="foo"> + <script> + var i = document.querySelector("input"); + i.selectionStart = 1; + i.selectionEnd = 2; + document.body.clientHeight; + i.style.display = "none"; + document.body.clientHeight; + i.style.display = ""; + </script> + </body> +</html> |