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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/select/option-value-and-label.html

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 9
10 <select> 10 <select>
11 <option id="o1">text</option> 11 <option id="o1">text</option>
12 <option id="o2" value="value">text</option> 12 <option id="o2" value="value">text</option>
13 <option id="o3" label="label">text</option> 13 <option id="o3" label="label">text</option>
14 <option id="o4" value="value" label="label">text</option> 14 <option id="o4" value="value" label="label">text</option>
(...skipping 13 matching lines...) Expand all
28 var o3 = document.getElementById('o3'); 28 var o3 = document.getElementById('o3');
29 shouldBe('o3.value', '"text"'); 29 shouldBe('o3.value', '"text"');
30 shouldBe('o3.label', '"label"'); 30 shouldBe('o3.label', '"label"');
31 31
32 var o4 = document.getElementById('o4'); 32 var o4 = document.getElementById('o4');
33 shouldBe('o4.value', '"value"'); 33 shouldBe('o4.value', '"value"');
34 shouldBe('o4.label', '"label"'); 34 shouldBe('o4.label', '"label"');
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698