JS Test Harness: Remove successfullyParsed from more tests
[WebKit-https.git] / LayoutTests / fast / dom / MicroData / itemvalue-reflects-the-content-attr-on-meta-element.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/microdata-common.js"></script>
6 </head>
7 <body>
8 <p>This test ensures that itemValue must reflect the content attribute on meta element.</p>
9 <div id="console"></div>
10 <script>
11 var metaElement = createElement('meta', {itemprop: 'foo',content: 'test'});
12 shouldBe('metaElement.itemValue', "'test'");
13 metaElement.content = 'retest';
14 shouldBe('metaElement.itemValue', "'retest'");
15 metaElement.itemValue = 'bar';
16 shouldBe('metaElement.content', "'bar'");
17
18 </script>
19 <script src="../../js/resources/js-test-post.js"></script>
20 </body>
21 </html