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
En las aplicaciones Mozilla , -moz-user-input
determina si un elemento aceptará entrada por parte del usuario. user-focus,
una propiedad similar fue propuesta en primeros borradores de un predecesor de la especificación CSS3 UI pero fue rechazada posteriormente por el grupo de trabajo..
Valor inicial | auto |
---|---|
Applies to | all elements |
Heredable | yes |
Valor calculado | como se especifica |
Animation type | discrete |
-moz-user-input
fue was one of the proposals leading to the proposed CSS 3 user-input
property, which has not yet reached Candidate Recommendation (call for implementations).
Para elementos que normalmente son receptores de entrada por parte del usuario, como <textarea>
, el valor inicial de -moz-user-input
es enabled
.
Síntaxis
/* Palabras clave valor */
-moz-user-input: none;
-moz-user-input: enabled;
-moz-user-input: disabled;
/* Valores gloables */
-moz-user-input: inherit;
-moz-user-input: initial;
-moz-user-input: unset;
Valores
- none
- El elemento no responde a la entrada de datos por parte del usuario y no estará
:active
. - enabled
- El elemento acepta entrada por parte del usuario. Para cajas de texto es el comportamiento por defecto.
- disabled
- El elemento no acepta datos del usuario. Sin embargo, no es lo mismo que establecer
disabled
a true, en ese caso el elemento es dibujado normalmente.
Síntaxis Formal
Ejemplos
input.example {
/* the user will be able to select the text, but not change it. */
-moz-user-input: disabled;
}