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

Side by Side Diff: LayoutTests/fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html

Issue 11548050: Merge 137152 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <p> 8 <p>
9 Please run this with DumpRenderTree. 9 Please run this with DumpRenderTree.
10 </p> 10 </p>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 // The tests in the following block fail on platforms without the 174 // The tests in the following block fail on platforms without the
175 // lang-attribute-aware-form-control-UI feature. 175 // lang-attribute-aware-form-control-UI feature.
176 input.setAttribute("lang", "he-il"); 176 input.setAttribute("lang", "he-il");
177 beginTest('RTL Left/Right keys', '2012-09'); 177 beginTest('RTL Left/Right keys', '2012-09');
178 keyDown('upArrow'); // -> 2012 [M10] 178 keyDown('upArrow'); // -> 2012 [M10]
179 shouldBeEqualToString('input.value', '2012-10'); 179 shouldBeEqualToString('input.value', '2012-10');
180 keyDown('leftArrow'); // -> [2012] M10 180 keyDown('leftArrow'); // -> [2012] M10
181 keyDown('2'); // -> [0002] M10 181 keyDown('2'); // -> [0002] M10
182 shouldBeEqualToString('input.value', '0002-10'); 182 shouldBeEqualToString('input.value', '0002-10');
183 keyDown('rightArrow'); // -> 0002 [M10] 183 keyDown('\t', ['shiftKey']); // -> 0002 [M10]
184 keyDown('upArrow'); // -> 0002 [M11] 184 keyDown('upArrow'); // -> 0002 [M11]
185 shouldBeEqualToString('input.value', '0002-11'); 185 shouldBeEqualToString('input.value', '0002-11');
186 input.removeAttribute("lang"); 186 input.removeAttribute("lang");
187 </script> 187 </script>
188 <script src="../../js/resources/js-test-post.js"></script> 188 <script src="../../js/resources/js-test-post.js"></script>
189 </body> 189 </body>
190 </html> 190 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698