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

Side by Side Diff: LayoutTests/fast/parser/parse-menuitem.html

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added more tests Created 6 years, 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script>
tkent 2014/08/11 13:36:57 Please move this <script> element to the last of t
pals 2014/08/11 14:07:08 Done.
5 window.onload = function() {
6 shouldBeEqualToString("document.getElementById('div').innerHTML", "<menuitem >");
7 shouldBeEqualToString("document.getElementById('menu').innerHTML", "<menuite m id=\"first_item\"><menuitem id=\"second_item\">");
8 shouldBeNull("document.getElementById('first_item').firstChild");
9 shouldBe("document.getElementById('menu').firstChild.nextSibling", "document .getElementById('second_item')");
10 };
11 </script>
12 </head>
13 <div id="div"><menuitem></div>
14 <menu id="menu" type=popup><menuitem id="first_item"><menuitem id="second_item"> </menu>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698