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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-form-element/form-nameditem.html

Issue 2634323002: Import wpt@aae3e1b6ffb8b24acb777450933ceeafd97e3655 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 3 years, 11 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 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Form named getter</title> 3 <title>Form named getter</title>
4 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <div id=log></div> 6 <div id=log></div>
7 <!-- XXX Nothing tests id attributes yet. --> 7 <!-- XXX Nothing tests id attributes yet. -->
8 <!-- XXX Keygen. -->
9 <!-- XXX We also need tests for moving inputs and forms in the DOM. --> 8 <!-- XXX We also need tests for moving inputs and forms in the DOM. -->
10 <form> 9 <form>
11 <input type=button name=button> 10 <input type=button name=button>
12 <input type=radio name=radio value=x> 11 <input type=radio name=radio value=x>
13 <input type=radio name=radio value=y> 12 <input type=radio name=radio value=y>
14 <input type=radio name=radio value=z> 13 <input type=radio name=radio value=z>
15 </form> 14 </form>
16 15
17 <form> 16 <form>
18 <button name=l1></button> 17 <button name=l1></button>
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 409
411 i2.setAttribute("form", "c"); 410 i2.setAttribute("form", "c");
412 assert_equals(form["past-name2"], undefined); 411 assert_equals(form["past-name2"], undefined);
413 assert_equals(form["twiddled-name3"], undefined); 412 assert_equals(form["twiddled-name3"], undefined);
414 assert_equals(form["twiddled-name4"], undefined); 413 assert_equals(form["twiddled-name4"], undefined);
415 assert_equals(form["past-id2"], undefined); 414 assert_equals(form["past-id2"], undefined);
416 assert_equals(form["twiddled-id3"], undefined); 415 assert_equals(form["twiddled-id3"], undefined);
417 assert_equals(form["twiddled-id4"], undefined); 416 assert_equals(form["twiddled-id4"], undefined);
418 }, "Past names map should work correctly"); 417 }, "Past names map should work correctly");
419 </script> 418 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698