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

Side by Side Diff: LayoutTests/fast/dom/MicroData/itemprop-names-override-builtin-properties.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 <html>
2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script>
4 <script src="resources/microdata-common.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Test to verify that itemprop names must not override builtin proper ties.");
9
10 var element = createElement('div', {itemscope: 'itemscope'});
11
12 var namedItem = element.properties.namedItem;
13 var item = element.properties.item;
14 element.innerHTML = '<div itemprop="namedItem item"></div>';
15
16 shouldBe("element.properties['namedItem']", "namedItem");
17 shouldBe("element.properties['item']", "item");
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