Quote:
Originally Posted by vr8ce
I do remember that, but it's irrelevant here — Calibre is an ebook editor. Ebooks are the only context for this CSS. And these directives came from a publisher. The errors are noise.
|
Perhaps you might to tell Hitch that anything in an ebook is okay because it came from a publisher. Everyone needs a good laugh. Ghod knows, I've edited enough ebooks to find your faith in publishers risible. Touching and childlike but risible nonetheless.
To belabour the point, I have never seen a standard published by Amazon for their CSS content. So the only standard for ebooks and CSS we have to work with are the CSS standards. By those standards, the only item you mentioned that is a standard item is hyphens and that only if you are generating an epub3 book using CSS3. Any of the other directives you mentioned are vendor extensions and not part of the CSS standards.
So they can and
should generate a warning. You can use them but don't depend on them to work as you hope since most renderers will disregard them at best. I've seen renderers that did not fail gracefully on finding an unknown directive so the entire stylesheet was dumped.