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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 3 years, 12 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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <p id="description"></p> 5 <p id="description"></p>
6 <div id="divId"> 6 <div id="divId">
7 <form> 7 <form>
8 <fieldset id="fs"> 8 <fieldset id="fs">
9 <button id=button1></button> 9 <button id=button1></button>
10 <fieldset id=fieldset1><legend id=legend1></legend></fieldset> 10 <fieldset id=fieldset1><legend id=legend1></legend></fieldset>
11 <input id=inputhidden type=hidden> 11 <input id=inputhidden type=hidden>
12 <input id=commoninput type=text> 12 <input id=commoninput type=text>
13 <input id=inputcommon type=search value=searching> 13 <input id=inputcommon type=search value=searching>
14 <input id=inputurl type=url> 14 <input id=inputurl type=url>
15 <input id=commoninput type=email> 15 <input id=commoninput type=email>
16 <input id=inputpassword type=password> 16 <input id=inputpassword type=password>
17 <input id=inputdate type=date> 17 <input id=inputdate type=date>
18 <input id=numberId name=inputcommon type=number value=123> 18 <input id=numberId name=inputcommon type=number value=123>
19 <input id=inputrange type=range> 19 <input id=inputrange type=range>
20 <input id=inputcolor type=color> 20 <input id=inputcolor type=color>
21 <input id=inputcheckbox type=checkbox> 21 <input id=inputcheckbox type=checkbox>
22 <input id=inputcommon type=radio value="inputRadioValue"> 22 <input id=inputcommon type=radio value="inputRadioValue">
23 <input id=inputfile type=file> 23 <input id=inputfile type=file>
24 <input id=inputsubmit type=submit> 24 <input id=inputsubmit type=submit>
25 <input id=inputcommon type=image> 25 <input id=inputcommon type=image>
26 <input id=commoninput type=reset> 26 <input id=commoninput type=reset>
27 <input id=inputcommon type=button value=buttonValue> 27 <input id=inputcommon type=button value=buttonValue>
28 <keygen id=keygen1></keygen>
29 <label id=label1></label> 28 <label id=label1></label>
30 <meter id=meter1></meter> 29 <meter id=meter1></meter>
31 <object id=object1></object> 30 <object id=object1></object>
32 <output id=output1></output> 31 <output id=output1></output>
33 <progress id=progress1></progress> 32 <progress id=progress1></progress>
34 <select id=select1> 33 <select id=select1>
35 <optgroup id=optgroup1>group1</optgroup> 34 <optgroup id=optgroup1>group1</optgroup>
36 <option id=option1>option1</option> 35 <option id=option1>option1</option>
37 </select> 36 </select>
38 <textarea id=textarea1></textarea> 37 <textarea id=textarea1></textarea>
39 </fieldset> 38 </fieldset>
40 </form> 39 </form>
41 </div> 40 </div>
42 <div id="console"></div> 41 <div id="console"></div>
43 <script> 42 <script>
44 description("This test ensures fieldset.elements does NOT contain RadioNodeList. "); 43 description("This test ensures fieldset.elements does NOT contain RadioNodeList. ");
45 debug(""); 44 debug("");
46 var owner = document.getElementById('fs'); 45 var owner = document.getElementById('fs');
47 46
48 shouldBe('owner.elements.length', '24'); 47 shouldBe('owner.elements.length', '23');
49 48
50 var elementsList = owner.elements; 49 var elementsList = owner.elements;
51 var notRadioNodeList = elementsList.namedItem("inputcommon"); 50 var notRadioNodeList = elementsList.namedItem("inputcommon");
52 shouldBeFalse('notRadioNodeList instanceof RadioNodeList'); 51 shouldBeFalse('notRadioNodeList instanceof RadioNodeList');
53 52
54 var container = document.getElementById("divId"); 53 var container = document.getElementById("divId");
55 container.parentNode.removeChild(container); 54 container.parentNode.removeChild(container);
56 </script> 55 </script>
57 </body> 56 </body>
58 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698