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

Side by Side Diff: LayoutTests/fast/forms/input-user-modify.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 input::-webkit-textfield-decoration-container, 5 input::-webkit-textfield-decoration-container,
6 input[type="search"]::-webkit-textfield-decoration-container, 6 input[type="search"]::-webkit-textfield-decoration-container,
7 input[type="search"]::-webkit-search-cancel-button, 7 input[type="search"]::-webkit-search-cancel-button,
8 input[type="search"]::-webkit-search-decoration, 8 input[type="search"]::-webkit-search-decoration,
9 input[type="search"]::-webkit-search-results-decoration, 9 input[type="search"]::-webkit-search-results-decoration,
10 input[type="search"]::-webkit-search-results-button, 10 input[type="search"]::-webkit-search-results-button,
11 ::-webkit-input-speech-button,
12 ::-webkit-input-placeholder, 11 ::-webkit-input-placeholder,
13 input::-webkit-input-placeholder, 12 input::-webkit-input-placeholder,
14 isindex::-webkit-input-placeholder, 13 isindex::-webkit-input-placeholder,
15 input[type="button"], input[type="submit"], input[type="reset"], 14 input[type="button"], input[type="submit"], input[type="reset"],
16 input[type="file"]::-webkit-file-upload-button, 15 input[type="file"]::-webkit-file-upload-button,
17 button, 16 button,
18 input[type="range"]::-webkit-slider-container, 17 input[type="range"]::-webkit-slider-container,
19 input[type="range"]::-webkit-media-slider-container, 18 input[type="range"]::-webkit-media-slider-container,
20 input[type="range"]::-webkit-slider-runnable-track, 19 input[type="range"]::-webkit-slider-runnable-track,
21 input[type="range"]::-webkit-slider-thumb, 20 input[type="range"]::-webkit-slider-thumb,
22 input[type="range"]::-webkit-color-swatch-wrapper, 21 input[type="range"]::-webkit-color-swatch-wrapper,
23 input[type="range"]::-webkit-color-swatch, 22 input[type="range"]::-webkit-color-swatch,
24 input::-webkit-calendar-picker-indicator { 23 input::-webkit-calendar-picker-indicator {
25 -webkit-user-modify: read-write; 24 -webkit-user-modify: read-write;
26 } 25 }
27 </style> 26 </style>
28 </head> 27 </head>
29 <body> 28 <body>
30 29
31 <p>The inner element of input should not be modifiable. 30 <p>The inner element of input should not be modifiable.
32 Trying to delete the inner element of input should not cause a crash.</p> 31 Trying to delete the inner element of input should not cause a crash.</p>
33 32
34 <div id="container"> 33 <div id="container">
35 <input id="search" type="search"> 34 <input id="search" type="search">
36 <input id="file" type="file"> 35 <input id="file" type="file">
37 <input id="range" type="range"> 36 <input id="range" type="range">
38 <input id="color" type="color"> 37 <input id="color" type="color">
39 <input id="number" type="number"> 38 <input id="number" type="number">
40 <input id="placeholder" type="text" placeholder="something"> 39 <input id="placeholder" type="text" placeholder="something">
41 <input id="speech" type="text" x-webkit-speech>
42 <button id="button">something</button> 40 <button id="button">something</button>
43 <input id="date" type="date"> 41 <input id="date" type="date">
44 <video id="video" controls> 42 <video id="video" controls>
45 <audio id="audio" controls> 43 <audio id="audio" controls>
46 </div> 44 </div>
47 45
48 <script> 46 <script>
49 if (window.testRunner) 47 if (window.testRunner)
50 testRunner.dumpAsText(); 48 testRunner.dumpAsText();
51 49
(...skipping 10 matching lines...) Expand all
62 } 60 }
63 61
64 var container = document.getElementById("container"); 62 var container = document.getElementById("container");
65 63
66 focusAndType("search", "delete"); 64 focusAndType("search", "delete");
67 focusAndType("file", "delete"); 65 focusAndType("file", "delete");
68 focusAndType("range", "delete"); 66 focusAndType("range", "delete");
69 focusAndType("color", "delete"); 67 focusAndType("color", "delete");
70 focusAndType("number", "delete"); 68 focusAndType("number", "delete");
71 focusAndType("placeholder", "delete"); 69 focusAndType("placeholder", "delete");
72 focusAndType("speech", "delete");
73 focusAndType("button", "delete"); 70 focusAndType("button", "delete");
74 focusAndType("date", "delete"); 71 focusAndType("date", "delete");
75 focusAndType("video", "delete"); 72 focusAndType("video", "delete");
76 focusAndType("audio", "delete"); 73 focusAndType("audio", "delete");
77 74
78 if (window.testRunner) 75 if (window.testRunner)
79 container.innerHTML = "PASS"; 76 container.innerHTML = "PASS";
80 </script> 77 </script>
81 </body> 78 </body>
82 </html> 79 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-type-change-focusout-expected.txt ('k') | LayoutTests/fast/forms/input-user-modify-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698