View Single Post
Old 12-12-2013, 03:06 AM   #309
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,467
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Divingduck: Good point about panose-1, I have special cased it so that the checker does not report it as an unrecognized property.

Unfortunately, the css library calibre uses -- cssutils is not very good for this purpose. The Book Check tool actually just intercepts its log messages and converts them into error entries. Therefore, there is no easy way to ignore some types as errors, as the errors are not really identified in any concrete way. That is why the error messages are also fairly cryptic. Still, I think having the ability to detect errors in CSS is valuable, despite the sub-optimal implementation.
kovidgoyal is offline