| OLD | NEW | 
 | (Empty) | 
|   1 <!DOCTYPE html> |  | 
|   2 <html> |  | 
|   3 <head> |  | 
|   4 <script src="../../js/resources/js-test-pre.js"></script> |  | 
|   5 </head> |  | 
|   6 <body> |  | 
|   7 <p>This test ensures that an element with empty itemprop="" doesn't get listed i
    n the .properties list.</p> |  | 
|   8 <div itemscope id="microdata-item"> |  | 
|   9 <div itemprop="foo"></div> |  | 
|  10 <div itemprop=""></div> |  | 
|  11 </div> |  | 
|  12 <div id="console"></div> |  | 
|  13 <script> |  | 
|  14 var item = document.getElementById('microdata-item'); |  | 
|  15 shouldBe("item.properties.length", "1"); |  | 
|  16 shouldBe("item.children[1].itemProp.add('buz'); item.properties.length", "2"); |  | 
|  17 shouldBe("item.children[1].itemProp.remove('buz'); item.properties.length", "1")
    ; |  | 
|  18 </script> |  | 
|  19 <script src="../../js/resources/js-test-post.js"></script> |  | 
|  20 </body> |  | 
|  21 </html> |  | 
| OLD | NEW |