Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: LayoutTests/fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 the itemprop attribute must be reflected by the .itemP rop property.</p>
9 <div id="console"></div>
10 <script>
11 var element = createElement('div', {itemprop: 'http://example.com/foo'});
12
13 shouldBeDefined("element.itemProp");
14 shouldBe("element.itemProp.toString()", "'http://example.com/foo'");
15
16 element.removeAttribute('itemProp');
17 shouldBe("element.itemProp.toString()", "''");
18
19 </script>
20 <script src="../../js/resources/js-test-post.js"></script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698