summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-parsing/invalid-attr-1.html
blob: b418575bba8ab1f834ace5c1d1612c5211dd7fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
  <head>
    <style>
      p { color: red; }
      [
      p { color: red !important; }
      p { color: red !important; }
      ] p { color: red !important; }
      p { color: green; }
    </style>
    <style>
      div { color: red; }
      :not([)
      div { color: red !important; }
      div { color: red !important; }
      ]) div { color: red !important; }
      div { color: green; }
    </style>
  </head>
  <body>
    <p>This text should be green.</p>
    <div>This text should be green.</p>
  </body>
</html>