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

Side by Side Diff: LayoutTests/fast/dom/script-tests/boolean-attribute-reflection.js

Issue 398843002: Add the HTMLIFrameElement.allowFullscreen reflected attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
1 description("Test reflecting boolean attributes."); 1 description("Test reflecting boolean attributes.");
2 2
3 var attributes = [ 3 var attributes = [
4 [ "area", "noHref" ], 4 [ "area", "noHref" ],
5 [ "dir", "compact" ], 5 [ "dir", "compact" ],
6 [ "dl", "compact" ], 6 [ "dl", "compact" ],
7 [ "form", "noValidate" ], 7 [ "form", "noValidate" ],
8 [ "frame", "noResize" ], 8 [ "frame", "noResize" ],
9 [ "hr", "noShade" ], 9 [ "hr", "noShade" ],
10 [ "iframe", "allowFullscreen" ],
10 [ "img", "isMap" ], 11 [ "img", "isMap" ],
11 [ "input", "autofocus" ], 12 [ "input", "autofocus" ],
12 [ "input", "defaultChecked", "checked" ], 13 [ "input", "defaultChecked", "checked" ],
13 [ "input", "disabled" ], 14 [ "input", "disabled" ],
14 [ "input", "formNoValidate" ], 15 [ "input", "formNoValidate" ],
15 [ "input", "multiple" ], 16 [ "input", "multiple" ],
16 [ "input", "readOnly" ], 17 [ "input", "readOnly" ],
17 [ "input", "required" ], 18 [ "input", "required" ],
18 [ "link", "disabled" ], 19 [ "link", "disabled" ],
19 [ "menu", "compact" ], 20 [ "menu", "compact" ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 + "e.setAttribute('" + contentAttribute + "', 'x'); " 52 + "e.setAttribute('" + contentAttribute + "', 'x'); "
52 + "e." + reflectingAttribute + " = false; " 53 + "e." + reflectingAttribute + " = false; "
53 + "e.getAttribute('" + contentAttribute + "')", 54 + "e.getAttribute('" + contentAttribute + "')",
54 "null"); 55 "null");
55 shouldBe("e = make('" + tag + "'); " 56 shouldBe("e = make('" + tag + "'); "
56 + "e.setAttribute('" + contentAttribute + "', 'x'); " 57 + "e.setAttribute('" + contentAttribute + "', 'x'); "
57 + "e." + reflectingAttribute + " = true; " 58 + "e." + reflectingAttribute + " = true; "
58 + "e.getAttribute('" + contentAttribute + "')", 59 + "e.getAttribute('" + contentAttribute + "')",
59 "''"); 60 "''");
60 } 61 }
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt ('k') | Source/core/html/HTMLIFrameElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698