summaryrefslogtreecommitdiffstats
path: root/layout/reftests/generated-content/transitive-style-invalidation-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/generated-content/transitive-style-invalidation-ref.html')
-rw-r--r--layout/reftests/generated-content/transitive-style-invalidation-ref.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/generated-content/transitive-style-invalidation-ref.html b/layout/reftests/generated-content/transitive-style-invalidation-ref.html
new file mode 100644
index 0000000000..cf2f709149
--- /dev/null
+++ b/layout/reftests/generated-content/transitive-style-invalidation-ref.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<style>
+.foo > div::before {
+ display: block;
+ width: 100px;
+ height: 100px;
+ background: green;
+ content: "";
+}
+</style>
+<div class="foo">
+ <div>
+ </div>
+</div>
+<script>
+onload = function() {
+ document.querySelector('.foo').className = 'foo bar';
+}
+</script>