OLD | NEW |
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 Loading... |
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> |
OLD | NEW |