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

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

Issue 427533003: Remove HTMLPreElement.wrap IDL attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: leave style alone 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 | 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 [ "iframe", "allowFullscreen" ],
11 [ "img", "isMap" ], 11 [ "img", "isMap" ],
12 [ "input", "autofocus" ], 12 [ "input", "autofocus" ],
13 [ "input", "defaultChecked", "checked" ], 13 [ "input", "defaultChecked", "checked" ],
14 [ "input", "disabled" ], 14 [ "input", "disabled" ],
15 [ "input", "formNoValidate" ], 15 [ "input", "formNoValidate" ],
16 [ "input", "multiple" ], 16 [ "input", "multiple" ],
17 [ "input", "readOnly" ], 17 [ "input", "readOnly" ],
18 [ "input", "required" ], 18 [ "input", "required" ],
19 [ "link", "disabled" ], 19 [ "link", "disabled" ],
20 [ "menu", "compact" ], 20 [ "menu", "compact" ],
21 [ "object", "declare" ], 21 [ "object", "declare" ],
22 [ "ol", "compact" ], 22 [ "ol", "compact" ],
23 [ "option", "defaultSelected", "selected" ], 23 [ "option", "defaultSelected", "selected" ],
24 [ "pre", "wrap" ],
25 [ "script", "defer" ], 24 [ "script", "defer" ],
26 [ "select", "multiple" ], 25 [ "select", "multiple" ],
27 [ "td", "noWrap" ], 26 [ "td", "noWrap" ],
28 [ "ul", "compact" ], 27 [ "ul", "compact" ],
29 [ "video", "autoplay" ], 28 [ "video", "autoplay" ],
30 [ "video", "controls" ], 29 [ "video", "controls" ],
31 [ "video", "loop" ], 30 [ "video", "loop" ],
32 ]; 31 ];
33 32
34 function make(tag) 33 function make(tag)
(...skipping 17 matching lines...) Expand all
52 + "e.setAttribute('" + contentAttribute + "', 'x'); " 51 + "e.setAttribute('" + contentAttribute + "', 'x'); "
53 + "e." + reflectingAttribute + " = false; " 52 + "e." + reflectingAttribute + " = false; "
54 + "e.getAttribute('" + contentAttribute + "')", 53 + "e.getAttribute('" + contentAttribute + "')",
55 "null"); 54 "null");
56 shouldBe("e = make('" + tag + "'); " 55 shouldBe("e = make('" + tag + "'); "
57 + "e.setAttribute('" + contentAttribute + "', 'x'); " 56 + "e.setAttribute('" + contentAttribute + "', 'x'); "
58 + "e." + reflectingAttribute + " = true; " 57 + "e." + reflectingAttribute + " = true; "
59 + "e.getAttribute('" + contentAttribute + "')", 58 + "e.getAttribute('" + contentAttribute + "')",
60 "''"); 59 "''");
61 } 60 }
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698