Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /compat/webkit-input-placeholder.html - WPT Dashboard Interop Dashboard
<!doctype html>
<link rel="match" href="webkit-input-placeholder-ref.html">
<style>
input::placeholder {
color: red;
}
input::-webkit-input-placeholder {
color: green;
}
</style>
<input placeholder="foo">