layout/reftests/css-parsing/invalid-attr-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-parsing/invalid-attr-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      p { color: red; }
     1.9 +      [
    1.10 +      p { color: red !important; }
    1.11 +      p { color: red !important; }
    1.12 +      ] p { color: red !important; }
    1.13 +      p { color: green; }
    1.14 +    </style>
    1.15 +    <style>
    1.16 +      div { color: red; }
    1.17 +      :not([)
    1.18 +      div { color: red !important; }
    1.19 +      div { color: red !important; }
    1.20 +      ]) div { color: red !important; }
    1.21 +      div { color: green; }
    1.22 +    </style>
    1.23 +  </head>
    1.24 +  <body>
    1.25 +    <p>This text should be green.</p>
    1.26 +    <div>This text should be green.</p>
    1.27 +  </body>
    1.28 +</html>

mercurial