This is a bug in the CSS validator, it has been already reported. text-overflow:ellipsis
is a valid rule, however the W3C CSS validator is unfortunately prone to errors (see bug list).
However, note that the current working draft lists some text-overflow
values as feature at risk:
The Working Group has identified the following features as at risk of being removed from CSS Basic User Interface Module Level 3 when exiting CR. Implementors are urged to implement these features, if they wish to see these features remain in this specification. All other features are either defined in a normative reference (e.g. CSS 2.1 [CSS21] or Selectors [SELECT]) or are believed to have two or more implementations, and thus will not be dropped without returning to last call.
- [...]
text-overflow
property value: <string>
text-overflow
property 2-value syntax and definition.
While this doesn't affect the ellipsis
value, it could be the source of the bug in the validator:
Parse Error [empty string]
References
- W3C: CSS Basic User Interface Module Level 3 (CSS3 UI): (WD-20120117)
text-overflow
are at risk, not the whole thing. User agent support should justify keeping at least the basic ellipsis implementation. – Camey