No estándar
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Resumen
La pseudo-clase CSS :-webkit-autofill
CSS selecciona un elemento <input>
cuando su valor es rellenado automáticamente por el navegador.
Nota: La hoja de estilos por defecto de muchos navegadores usan !important
en sus declaraciones de estilo :-webkit-autofill
, haciendo que no puedan ser sobrescritos por páginas que no usen trucos JavaScript.
Especificaciones
No es parte de ninguna especificación.
Compatibilidad con los distintos navegadores
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Característica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Soporte básico | (Yes) | Sin soporte | ? | ? | (Yes) |
Característica | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Soporte básico | ? | Sin soporte | ? | ? | ? |
Ver además
- Asunto Chromium 46543: El realce con fondo amarillo de los campos input de texto con valor automático no puede ser deshabilitados.
- WebKit bug 66032: Permite a los autores sobrescribir los colores de los campos que se rellenan automáticamente.
- Mozilla bug 740979: implementar
la pseudo-clase :-moz-autofill
en elemento input con un valor de relleno automático.