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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/object_collection.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
(Empty)
1 <html>
2 <head>
3
4 <script>
5 if (window.layoutTestController)
6 layoutTestController.dumpAsText();
7
8 function check() {
9 var node = document.getElementById("result");
10
11 if ((typeof document.f.cb0 == 'undefined') &&
12 (document.f.cb1.nodeName == 'INPUT') &&
13 (document.f.cb2.length == 2) &&
14 (document.f.rb2.length == 2)) {
15 node.innerHTML = "Test Passed";
16 } else {
17 node.innerHTML = "Test Failed";
18 }
19 }
20 </script>
21 </head>
22
23 <body onload="check()">
24 <p>
25 <b>Test purpose: </b>
26 Multiple radio buttons/checkboxes with the same name should map to
27 'object:collection' when accessed thru document.form.name. Bug#805063
28 </p>
29 <form name="f">
30 <ul>
31 <li>Radio button:
32 <input type="radio" name="rb2"/>Male
33 <input type="radio" name="rb2"/>Female
34 </li>
35
36 <li>Checkbox:
37 <input type="checkbox" name="cb1"/>1
38 </li>
39
40 <li>Checkbox:
41 <input type="checkbox" name="cb2"/>1
42 <input type="checkbox" name="cb2"/>2
43 </li>
44 </ul>
45 </form>
46
47 <B>Result:</B><div id="result"></div>
48
49 </body>
50
51 </HTML>
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698