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

Side by Side Diff: LayoutTests/fast/css/placeholder-shown-basics-expected.html

Issue 1280423002: CSS4: Implement :placeholder-shown pseudo class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated as per review comments Created 5 years, 4 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>
2 <style>
3 input, textarea {
4 height: 8px;
5 }
6 .placeholder-shown {
7 background-color: green;
8 }
9 </style>
10 <p>This test checks how various input elements are styled when :placeholder-show n is applied.</p>
11 <div>
12 <textarea></textarea>
13 <textarea placeholder></textarea>
14 <textarea placeholder="Placeholder text" class="placeholder-shown"></textare a>
15 <textarea placeholder="Placeholder text">Foobar</textarea>
16 </div>
17 <div>
18 <input>
19 <input placeholder>
20 <input placeholder="Placeholder text" class="placeholder-shown">
21 <input placeholder="Placeholder text" value="Foobar">
22 </div>
23 <div>
24 <input type="">
25 <input type="" placeholder>
26 <input type="" placeholder="Placeholder text" class="placeholder-shown">
27 <input type="" placeholder="Placeholder text" value="Foobar">
28 </div>
29 <div>
30 <input type="hidden">
31 <input type="hidden" placeholder>
32 <input type="hidden" placeholder="Placeholder text" class="placeholder-shown ">
33 <input type="hidden" placeholder="Placeholder text" value="Foobar">
34 </div>
35 <div>
36 <input type="text">
37 <input type="text" placeholder>
38 <input type="text" placeholder="Placeholder text" class="placeholder-shown">
39 <input type="text" placeholder="Placeholder text" value="Foobar">
40 </div>
41 <div>
42 <input type="tel">
43 <input type="tel" placeholder>
44 <input type="tel" placeholder="Placeholder text" class="placeholder-shown">
45 <input type="tel" placeholder="Placeholder text" value="Foobar">
46 </div>
47 <div>
48 <input type="url">
49 <input type="url" placeholder>
50 <input type="url" placeholder="Placeholder text" class="placeholder-shown">
51 <input type="url" placeholder="Placeholder text" value="Foobar">
52 </div>
53 <div>
54 <input type="email">
55 <input type="email" placeholder>
56 <input type="email" placeholder="Placeholder text" class="placeholder-shown" >
57 <input type="email" placeholder="Placeholder text" value="Foobar">
58 </div>
59 <div>
60 <input type="password">
61 <input type="password" placeholder>
62 <input type="password" placeholder="Placeholder text" class="placeholder-sho wn">
63 <input type="password" placeholder="Placeholder text" value="Foobar">
64 </div>
65 <div>
66 <input type="datetime">
tkent 2015/09/08 03:12:04 Ditto
ramya.v 2015/09/08 03:58:29 Incorporated the changes in https://codereview.chr
67 <input type="datetime" placeholder>
68 <input type="datetime" placeholder="Placeholder text" class="placeholder-sho wn">
69 <input type="datetime" placeholder="Placeholder text" value="Foobar">
70 </div>
71 <div>
72 <input type="number">
73 <input type="number" placeholder>
74 <input type="number" placeholder="Placeholder text" class="placeholder-shown ">
75 <input type="number" placeholder="Placeholder text" value="0">
76 </div>
77 <div>
78 <input type="range">
79 <input type="range" placeholder>
80 <input type="range" placeholder="Placeholder text">
81 <input type="range" placeholder="Placeholder text" value="1">
82 </div>
83 <div>
84 <input type="checkbox">
85 <input type="checkbox" placeholder>
86 <input type="checkbox" placeholder="Placeholder text">
87 <input type="checkbox" placeholder="Placeholder text" value="Foobar">
88 </div>
89 <div>
90 <input type="radio">
91 <input type="radio" placeholder>
92 <input type="radio" placeholder="Placeholder text">
93 <input type="radio" placeholder="Placeholder text" value="Foobar">
94 </div>
95 <div>
96 <input type="submit">
97 <input type="submit" placeholder>
98 <input type="submit" placeholder="Placeholder text">
99 <input type="submit" placeholder="Placeholder text" value="Foobar">
100 </div>
101 <div>
102 <input type="color">
103 <input type="color" placeholder>
104 <input type="color" placeholder="Placeholder text">
105 <input type="color" placeholder="Placeholder text" value="Foobar">
106 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698