OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
| 5 /* We'd like to check appearance of these buttons in various sizes. */ |
| 6 input::-webkit-input-speech-button, |
| 7 input::-webkit-search-cancel-button { |
| 8 opacity: 1; |
| 9 } |
5 </style> | 10 </style> |
6 </head> | 11 </head> |
7 <body> | 12 <body> |
8 <p>Test appearances of input-speech-button in <input type='search'>.</p> | 13 <p>Test appearances of input-speech-button in <input type='search'>.</p> |
9 <div id="console"></div> | 14 <div id="console"></div> |
10 | 15 |
11 <script> | 16 <script> |
12 var parent = document.createElement('div'); | 17 var parent = document.createElement('div'); |
13 document.body.appendChild(parent); | 18 document.body.appendChild(parent); |
14 parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>'; | 19 parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>'; |
(...skipping 11 matching lines...) Expand all Loading... |
26 } | 31 } |
27 } | 32 } |
28 for (var i = 0; i < cells.length; ++i) { | 33 for (var i = 0; i < cells.length; ++i) { |
29 var div = document.createElement('div'); | 34 var div = document.createElement('div'); |
30 div.innerHTML = cells[i]; | 35 div.innerHTML = cells[i]; |
31 document.getElementById('p' + (i + 1)).appendChild(div); | 36 document.getElementById('p' + (i + 1)).appendChild(div); |
32 } | 37 } |
33 </script> | 38 </script> |
34 </body> | 39 </body> |
35 </html> | 40 </html> |
OLD | NEW |