:-moz-only-whitespace
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-class CSS:-moz-only-whitespace
selecciona un elemento si no tiene ningún hijo, o bien nodos textos vacíos o bien nodos texto que sólo contienen espacios en blanco. Sólo cuando hay elementos o nodos texto con uno o más caracteres dentro, el elemento no será seleccionado por esta pseudo-clase.
Síntaxis
span:-moz-only-whitespace { propiedades del estilo }
Ejemplo
CSS
span:-moz-only-whitespace::before {
background-color: lime;
}
HTML
<span> </span>