diff options
Diffstat (limited to 'layout/base/tests/bug1097242-1.html')
-rw-r--r-- | layout/base/tests/bug1097242-1.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/base/tests/bug1097242-1.html b/layout/base/tests/bug1097242-1.html new file mode 100644 index 000000000..dc5d55eb1 --- /dev/null +++ b/layout/base/tests/bug1097242-1.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <script src="/tests/SimpleTest/EventUtils.js"></script> + <script> + function test() { + focus(); + synthesizeMouseAtCenter(document.querySelector("span"), {}); + } + function focused() { + document.documentElement.removeAttribute("class"); + } + </script> + <body onload="setTimeout(test, 0)"> + <div contenteditable spellcheck="false" onfocus="focused()" + style="outline: none">foo<span contenteditable=false + style="-moz-user-select: none">bar</span>baz</div> + </body> +</html> |