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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/boolean-attribute-reflection.html

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Rebase Created 3 years, 6 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
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Test reflecting boolean attributes."); 8 description("Test reflecting boolean attributes.");
9 9
10 var attributes = [ 10 var attributes = [
11 [ "area", "noHref" ], 11 [ "area", "noHref" ],
12 [ "dir", "compact" ], 12 [ "dir", "compact" ],
13 [ "dl", "compact" ], 13 [ "dl", "compact" ],
14 [ "form", "noValidate" ], 14 [ "form", "noValidate" ],
15 [ "frame", "noResize" ], 15 [ "frame", "noResize" ],
16 [ "hr", "noShade" ], 16 [ "hr", "noShade" ],
17 [ "iframe", "allowFullscreen" ], 17 [ "iframe", "allowFullscreen" ],
18 [ "img", "isMap" ], 18 [ "img", "isMap" ],
19 [ "input", "autofocus" ], 19 [ "input", "autofocus" ],
20 [ "input", "defaultChecked", "checked" ], 20 [ "input", "defaultChecked", "checked" ],
21 [ "input", "disabled" ], 21 [ "input", "disabled" ],
22 [ "input", "formNoValidate" ], 22 [ "input", "formNoValidate" ],
23 [ "input", "multiple" ], 23 [ "input", "multiple" ],
24 [ "input", "readOnly" ], 24 [ "input", "readOnly" ],
25 [ "input", "required" ], 25 [ "input", "required" ],
26 [ "link", "disabled" ], 26 [ "link", "disabled" ],
27 [ "menu", "compact" ], 27 [ "menu", "compact" ],
28 [ "menuitem", "checked" ],
29 [ "menuitem", "default" ],
30 [ "menuitem", "disabled" ],
31 [ "object", "declare" ], 28 [ "object", "declare" ],
32 [ "ol", "compact" ], 29 [ "ol", "compact" ],
33 [ "option", "defaultSelected", "selected" ], 30 [ "option", "defaultSelected", "selected" ],
34 [ "script", "defer" ], 31 [ "script", "defer" ],
35 [ "select", "multiple" ], 32 [ "select", "multiple" ],
36 [ "td", "noWrap" ], 33 [ "td", "noWrap" ],
37 [ "ul", "compact" ], 34 [ "ul", "compact" ],
38 [ "video", "autoplay" ], 35 [ "video", "autoplay" ],
39 [ "video", "controls" ], 36 [ "video", "controls" ],
40 [ "video", "loop" ], 37 [ "video", "loop" ],
(...skipping 23 matching lines...) Expand all
64 "null"); 61 "null");
65 shouldBe("e = make('" + tag + "'); " 62 shouldBe("e = make('" + tag + "'); "
66 + "e.setAttribute('" + contentAttribute + "', 'x'); " 63 + "e.setAttribute('" + contentAttribute + "', 'x'); "
67 + "e." + reflectingAttribute + " = true; " 64 + "e." + reflectingAttribute + " = true; "
68 + "e.getAttribute('" + contentAttribute + "')", 65 + "e.getAttribute('" + contentAttribute + "')",
69 "''"); 66 "''");
70 } 67 }
71 </script> 68 </script>
72 </body> 69 </body>
73 </html> 70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698