summaryrefslogtreecommitdiffstats
path: root/layout/reftests/generated-content/dynamic-content.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/generated-content/dynamic-content.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/generated-content/dynamic-content.html b/layout/reftests/generated-content/dynamic-content.html
new file mode 100644
index 0000000000..5eebe244a7
--- /dev/null
+++ b/layout/reftests/generated-content/dynamic-content.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<style>
+div::before {
+ content: none;
+}
+.foo::before {
+ content: "Woof";
+}
+</style>
+<div></div>
+<script>
+ document.body.offsetTop;
+ document.querySelector('div').classList.add('foo');
+</script>