summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-018.html
blob: f51d3b30c83c99281a5df504283bdd9273e4dd81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<body>
  <div>
    <div>
      <p>This should be green.</p>
      <style scoped>
        p { color: green }
      </style>
    </div>
    <style scoped>
      p { color: red }
    </style>
  </div>
</body>