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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/parser/stray-menuitem.html
diff --git a/LayoutTests/fast/parser/stray-menuitem.html b/LayoutTests/fast/parser/stray-menuitem.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e551d86ca86b84474965032a485933f424b9af2
--- /dev/null
+++ b/LayoutTests/fast/parser/stray-menuitem.html
@@ -0,0 +1,19 @@
+<!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
+<html>
+ <head>
+ <title>Stray menuitem elements are not dropped when parsing</title>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ window.onload = function() {
+ var len = document.getElementsByTagName("menuitem").length;
+ document.getElementsByTagName("p")[0].innerHTML = (len == 1) ? "PASS" : "FAIL";
+ };
+ </script>
+ </head>
+ <body>
+ <p>This test requires Javascript.</p>
+ <menuitem>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698