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

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

Issue 264973003: Remove layout tests for the legacy x-webkit-speech API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months 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
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <style>
5 </style>
6 </head>
7 <body>
8 <p>Test appearances of input-speech-button in &lt;input type='number'&gt;.</p>
9 <div id="console"></div>
10
11 <script>
12 var parent = document.createElement('div');
13 document.body.appendChild(parent);
14 parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>';
15 var cells = ["", "", ""];
16 var maxCellCount = [7, 5, 5];
17 var cellCount = 0;
18 var index = 0;
19 for (var size = 8; size < 24; size++) {
20 cells[index] += '<input type="number" style="font-size:' + size + 'px" value ="012345678901234567890123456789"><br>'
21 + '<input type="number" style="font-size:' + size + 'px" value="01234567 8901234567890123456789" x-webkit-speech><br>';
22 if (++cellCount >= maxCellCount[index]) {
23 ++index;
24 cellCount = 0;
25 }
26 }
27 for (var i = 0; i < cells.length; ++i) {
28 var div = document.createElement('div');
29 div.innerHTML = cells[i];
30 document.getElementById('p' + (i + 1)).appendChild(div);
31 }
32 </script>
33 </body>
34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/speech/change-focus-expected.txt ('k') | LayoutTests/fast/speech/input-appearance-searchandspeech.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698