summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-pseudo-002.html
blob: 409d792ce98e4bc2176834e93a834e142f07ab24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<body>
  <p>First</p>
  <p>
    <style scoped>
      :scope { color: green }
    </style>
    <div>
      <style scoped>
        :scope { border: 2px solid black }
      </style>
      Second
    </div>
  </p>
  <p>Third</p>
</body>