Quote:
Originally Posted by cybmole
but surely any device that interprets zero as " use 2 instead" is not following the spec correctly !
|
The spec says that "0" is not valid. If a CSS is not valid, it should be ignored. If it is ignored, the default (or the inherited value, or the previously-defined value) would be used. The default, everyone agrees, is "2".
So in this case 0=2 is a pretty accurate description.
That's what the spec says. A reader behaving otherwise is showing a bug, or an implementation mistake.