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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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