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

Unified Diff: LayoutTests/fast/speech/input-appearance-searchandspeech.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/speech/input-appearance-searchandspeech.html
diff --git a/LayoutTests/fast/speech/input-appearance-searchandspeech.html b/LayoutTests/fast/speech/input-appearance-searchandspeech.html
deleted file mode 100644
index 751c648e8093ac5b80e901b3137e11d06460400b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/speech/input-appearance-searchandspeech.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<style>
-/* We'd like to check appearance of these buttons in various sizes. */
-input::-webkit-input-speech-button,
-input::-webkit-search-cancel-button {
- opacity: 1;
-}
-</style>
-</head>
-<body>
-<p>Test appearances of input-speech-button in &lt;input type='search'&gt;.</p>
-<div id="console"></div>
-
-<script>
-var parent = document.createElement('div');
-document.body.appendChild(parent);
-parent.innerHTML = '<table><tr><td id=p1><td id=p2><td id=p3></tr></table>';
-var cells = ["", "", ""];
-var maxCellCount = [7, 5, 5];
-var cellCount = 0;
-var index = 0;
-for (var size = 8; size < 24; size++) {
- cells[index] += '<input type="search" style="font-size:' + size + 'px" x-webkit-speech><br>'
- + '<input type="search" style="font-size:' + size + 'px" value="012345678901234567890123456789"><br>'
- + '<input type="search" style="font-size:' + size + 'px" value="012345678901234567890123456789" x-webkit-speech><br>';
- if (++cellCount >= maxCellCount[index]) {
- ++index;
- cellCount = 0;
- }
-}
-for (var i = 0; i < cells.length; ++i) {
- var div = document.createElement('div');
- div.innerHTML = cells[i];
- document.getElementById('p' + (i + 1)).appendChild(div);
-}
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698