summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1366144.html
blob: 744c668ef62a5c375e244ea1809faec29ed32019 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<style>
  div::after { color: green }
  div.foo::after { content: "Bar" }
</style>
<div></div>
<script>
  onload = function() {
    document.querySelector('div').classList.add('foo');
  }
</script>