View Single Post
Old 06-25-2018, 02:53 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,929
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by vr8ce View Post
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.
DNSB is offline   Reply With Quote