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

Side by Side Diff: LayoutTests/fast/speech/input-appearance-searchandspeech.html

Issue 112643003: Revert of Show speech button for x-webkit-speech only if the field is editable and focused/hovered. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
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 }
10 </style> 5 </style>
11 </head> 6 </head>
12 <body> 7 <body>
13 <p>Test appearances of input-speech-button in &lt;input type='search'&gt;.</p> 8 <p>Test appearances of input-speech-button in &lt;input type='search'&gt;.</p>
14 <div id="console"></div> 9 <div id="console"></div>
15 10
16 <script> 11 <script>
17 var parent = document.createElement('div'); 12 var parent = document.createElement('div');
18 document.body.appendChild(parent); 13 document.body.appendChild(parent);
19 parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>'; 14 parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>';
(...skipping 11 matching lines...) Expand all
31 } 26 }
32 } 27 }
33 for (var i = 0; i < cells.length; ++i) { 28 for (var i = 0; i < cells.length; ++i) {
34 var div = document.createElement('div'); 29 var div = document.createElement('div');
35 div.innerHTML = cells[i]; 30 div.innerHTML = cells[i];
36 document.getElementById('p' + (i + 1)).appendChild(div); 31 document.getElementById('p' + (i + 1)).appendChild(div);
37 } 32 }
38 </script> 33 </script>
39 </body> 34 </body>
40 </html> 35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/speech/input-appearance-speechbutton.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698