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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial