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

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

Issue 443373002: Add <menuitem>, new HTMLMenuElement IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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>
tkent 2014/08/11 01:58:32 This test doesn't make sense. This test passes wi
pals 2014/08/11 09:11:58 Done. Made the necessary changes to check no endTa
2 <html>
3 <head>
4 <title>Stray menuitem elements are not dropped when parsing</title>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 window.onload = function() {
10 var len = document.getElementsByTagName("menuitem").length;
11 document.getElementsByTagName("p")[0].innerHTML = (len == 1) ? " PASS" : "FAIL";
12 };
13 </script>
14 </head>
15 <body>
16 <p>This test requires Javascript.</p>
17 <menuitem>
18 </body>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698