View Single Post
Old 07-16-2014, 03:17 AM   #145
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,563
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by cybmole View Post
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.
Jellby is offline   Reply With Quote