layout/reftests/bugs/315920-6.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       option {color: red}
     6       option[selected] {color: green}
     7       option[selected]:default + option {color: green}
     8     </style>
     9   </head>
    10   <body onload='var elem = document.getElementById("one");
    11                 elem.setAttribute("selected", "selected");'>
    12     <select size="2">
    13       <option id="one">Should be no red</option>
    14       <option id="two">Should be no red</option>
    15     </select>
    16   </body>
    17 </html>

mercurial