summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug1634743-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/tests/bug1634743-1-ref.html')
-rw-r--r--layout/base/tests/bug1634743-1-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/base/tests/bug1634743-1-ref.html b/layout/base/tests/bug1634743-1-ref.html
new file mode 100644
index 0000000000..55d0366359
--- /dev/null
+++ b/layout/base/tests/bug1634743-1-ref.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<html class="reftest-wait">
+<title>Test reference</title>
+<script src="/tests/SimpleTest/SimpleTest.js"></script>
+<style>
+ div {
+ outline: 2px solid blue;
+ line-height: 5;
+ border: 1px solid gray;
+ padding: 8px;
+ }
+</style>
+<div contenteditable="true" spellcheck="false">abc</div>
+<script>
+SimpleTest.waitForFocus(function() {
+ document.querySelector('[contenteditable="true"]').focus();
+ requestAnimationFrame(function() {
+ requestAnimationFrame(function() {
+ document.documentElement.removeAttribute("class");
+ });
+ });
+});
+</script>