summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1384065.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1384065.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1384065.html b/layout/reftests/bugs/1384065.html
new file mode 100644
index 0000000000..8f31ba6e1e
--- /dev/null
+++ b/layout/reftests/bugs/1384065.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<style>
+div {
+ display: none;
+}
+div::before {
+ content: "Should appear";
+}
+</style>
+<div></div>
+<script>
+ document.documentElement.offsetTop;
+ document.querySelector('div').style.display = "block";
+</script>