blob: d050983bbe4fbc5e29a083dc6b646c0e2843e292 [file] [log] [blame]
<!DOCTYPE html>
<html>
<style>
[placeholder=first]::placeholder {
color: red;
background-color: green;
}
[placeholder=second]::-webkit-input-placeholder {
color: pink;
background-color: blue;
}
</style>
<body>
<p>This test verifies that ::placeholder and ::-webkit-input-placeholder are styled the same.</p>
<div>
<input placeholder=first>
<input placeholder=second>
</div>
</body>
</html>