OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <p> | 4 <p> |
5 This test verifies that the speech input control is rendered correctly for | 5 This test verifies that the speech input control is rendered correctly for |
6 dir=rtl/ltr. | 6 dir=rtl/ltr. |
7 </p> | 7 </p> |
8 <ul> | 8 <ul> |
9 <li>The Microphone icon should be on the <b>right</b>: | 9 <li>The Microphone icon should be on the <b>right</b>: |
10 <input id='speechInputLTR' x-webkit-speech></li> | 10 <input id='speechInputLTR' x-webkit-speech></li> |
(...skipping 10 matching lines...) Expand all Loading... |
21 <li>The Microphone icon should be on the <b>left</b>: | 21 <li>The Microphone icon should be on the <b>left</b>: |
22 <input id='speechInputLTRtoRTL' x-webkit-speech style="padding:5px 10px" d
ir=ltr></li> | 22 <input id='speechInputLTRtoRTL' x-webkit-speech style="padding:5px 10px" d
ir=ltr></li> |
23 </ul> | 23 </ul> |
24 | 24 |
25 <script> | 25 <script> |
26 document.getElementById("speechInputRTLtoLTR").dir = 'ltr'; | 26 document.getElementById("speechInputRTLtoLTR").dir = 'ltr'; |
27 document.getElementById("speechInputLTRtoRTL").dir = 'rtl'; | 27 document.getElementById("speechInputLTRtoRTL").dir = 'rtl'; |
28 </script> | 28 </script> |
29 </body> | 29 </body> |
30 </html> | 30 </html> |
OLD | NEW |