summaryrefslogtreecommitdiffstats
path: root/layout/reftests/generated-content/transitive-style-invalidation-ref.html
blob: cf2f70914983159892053bb759cd7381b228917c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>