| OLD | NEW | 
| (Empty) |  | 
 |   1 <!DOCTYPE html> | 
 |   2  | 
 |   3 <script src="../js/resources/js-test-pre.js"></script> | 
 |   4  | 
 |   5 <style> | 
 |   6   div[readonly="red"] { | 
 |   7     color: red; | 
 |   8   } | 
 |   9   div[type="blue"] { | 
 |  10     color: blue; | 
 |  11   } | 
 |  12 </style> | 
 |  13  | 
 |  14 <div black>Black</div> | 
 |  15 <div readonly="red">Red</div> | 
 |  16 <div type="blue">Blue</div> | 
 |  17  | 
 |  18 <script> | 
 |  19 description("Make sure special case style sharing for readonly and type attribut
    es works"); | 
 |  20  | 
 |  21 shouldBe('getComputedStyle(document.querySelector("[black]")).color','"rgb(0, 0,
     0)"'); | 
 |  22 shouldBe('getComputedStyle(document.querySelector("[readonly]")).color','"rgb(25
    5, 0, 0)"'); | 
 |  23 shouldBe('getComputedStyle(document.querySelector("[type]")).color','"rgb(0, 0, 
    255)"'); | 
 |  24 </script> | 
 |  25  | 
 |  26 <script src="../js/resources/js-test-post.js"></script> | 
| OLD | NEW |