summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/496006-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bidi/496006-1.html')
-rw-r--r--layout/reftests/bidi/496006-1.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/bidi/496006-1.html b/layout/reftests/bidi/496006-1.html
new file mode 100644
index 0000000000..5629fa4ea5
--- /dev/null
+++ b/layout/reftests/bidi/496006-1.html
@@ -0,0 +1,21 @@
+<html class="reftest-wait">
+<head>
+</head>
+<body style="direction: rtl;">
+m
+<span id="a" style="border: 1px solid black;"></span>
+<div><script>document.body.offsetHeight;</script></div>
+m
+
+<script>
+function doe() {
+var a=document.getElementById('a');
+a.style.outline = '1px solid transparent';
+document.body.offsetHeight;
+a.style.outline = '';
+document.documentElement.removeAttribute('class');
+}
+setTimeout(doe, 500);
+</script>
+</body>
+</html>