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

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

Issue 7046023: Revert 84329 - 2011-04-19 Julien Chaffraix <jchaffraix@codeaurora.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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 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 [ "img", "isMap" ], 10 [ "img", "isMap" ],
11 [ "input", "autofocus" ], 11 [ "input", "autofocus" ],
12 [ "input", "defaultChecked", "checked" ], 12 [ "input", "defaultChecked", "checked" ],
13 [ "input", "disabled" ], 13 [ "input", "disabled" ],
14 [ "input", "formNoValidate" ], 14 [ "input", "formNoValidate" ],
15 [ "input", "multiple" ], 15 [ "input", "multiple" ],
16 [ "input", "readOnly" ], 16 [ "input", "readOnly" ],
17 [ "input", "required" ], 17 [ "input", "required" ],
18 [ "link", "disabled" ],
18 [ "menu", "compact" ], 19 [ "menu", "compact" ],
19 [ "object", "declare" ], 20 [ "object", "declare" ],
20 [ "ol", "compact" ], 21 [ "ol", "compact" ],
21 [ "option", "defaultSelected", "selected" ], 22 [ "option", "defaultSelected", "selected" ],
22 [ "pre", "wrap" ], 23 [ "pre", "wrap" ],
23 [ "script", "defer" ], 24 [ "script", "defer" ],
24 [ "select", "multiple" ], 25 [ "select", "multiple" ],
25 [ "td", "noWrap" ], 26 [ "td", "noWrap" ],
26 [ "ul", "compact" ], 27 [ "ul", "compact" ],
27 [ "video", "autoplay" ], 28 [ "video", "autoplay" ],
(...skipping 24 matching lines...) Expand all
52 + "e.getAttribute('" + contentAttribute + "')", 53 + "e.getAttribute('" + contentAttribute + "')",
53 "null"); 54 "null");
54 shouldBe("e = make('" + tag + "'); " 55 shouldBe("e = make('" + tag + "'); "
55 + "e.setAttribute('" + contentAttribute + "', 'x'); " 56 + "e.setAttribute('" + contentAttribute + "', 'x'); "
56 + "e." + reflectingAttribute + " = true; " 57 + "e." + reflectingAttribute + " = true; "
57 + "e.getAttribute('" + contentAttribute + "')", 58 + "e.getAttribute('" + contentAttribute + "')",
58 "''"); 59 "''");
59 } 60 }
60 61
61 var successfullyParsed = true; 62 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/boolean-attribute-reflection-expected.txt ('k') | Source/WebCore/html/HTMLLinkElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698