commit-queue@webkit.org | e75143b | 2016-06-14 22:09:33 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
2 | <html> | ||||
3 | <style> | ||||
4 | [placeholder=first]::placeholder { | ||||
5 | color: red; | ||||
6 | background-color: green; | ||||
7 | } | ||||
8 | [placeholder=second]::-webkit-input-placeholder { | ||||
9 | color: pink; | ||||
10 | background-color: blue; | ||||
11 | } | ||||
12 | |||||
13 | </style> | ||||
14 | <body> | ||||
15 | <p>This test verifies that ::placeholder and ::-webkit-input-placeholder are styled the same.</p> | ||||
16 | <div> | ||||
17 | <input placeholder=first> | ||||
18 | <input placeholder=second> | ||||
19 | </div> | ||||
20 | </body> | ||||
21 | </html> |