View Single Post
Old 06-24-2018, 11:57 PM   #4
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: 47,125
Karma: 169815798
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
Why does "Check book" complain about the various CSS "hyphens" directives (hyphens, -epub-hyphens, -webkit-hyphens, etc.)? The directives appear to have been in the epub spec since at least 2.x, and it's part of the CSS3 spec as well. Just about any epub guide that I've seen tells you to use them. These kinds of false positives make it more difficult to go through "real" errors in the check.

(If this has been covered before, I apologize. I've never been able to get MobileRead's "Search" to work — I always get an API error message, on multiple browsers, over several months of trying.)
AFAIR, most of those directives are not part of the epub spec. If I feed my stylesheets through the W3C CSS Validation Service, it comes up with these errors:

Sample output:

Code:
9 		-epub-hyphens is an unknown vendor extension
10 		-webkit-hyphens is an unknown vendor extension
11 		-moz-hyphens is an unknown vendor extension
12 		Property adobe-hyphenate doesn't exist
The only one that gets accepted is hyphens : none; if I set the css level to 3.

For an old thread, see Kobo, Kindle, KOReader and hyphenation for some discussion.

Last edited by DNSB; 06-25-2018 at 02:33 PM. Reason: Added the not before part of the epub spec.
DNSB is offline   Reply With Quote