05-07-2014, 07:17 AM | #1 |
Ebook-Fan
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
|
Bug?: webkit-hyphens?
Calibre doesn't recognize webkit-hyphens as correct in CSS and say it is invalid, but it seems but be correct for EPUB. Does it? If so it should be not listens in the check with with the editor. What do you think?
Last edited by samy2; 05-07-2014 at 07:22 AM. |
05-07-2014, 07:37 AM | #2 |
Village idiot
Posts: 157
Karma: 519566
Join Date: Mar 2014
Location: Belgium
Device: sony PRS T-1
|
It's not a bug, webkit-hyphen is not supported by epub specs.
Why would you use it for epubs? Just put in hyphens: none if you don't want hyphenation (not sure if that works for all devices though. |
Advert | |
|
05-07-2014, 04:14 PM | #3 |
Ebook-Fan
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
|
It is not? Why does mobileread-wiki says it is supported?
https://wiki.mobileread.com/wiki/Stan...for_Epub_Files Than the editor shows "unknown property name"... Last edited by samy2; 05-07-2014 at 04:17 PM. |
05-07-2014, 04:52 PM | #4 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
-webkit-hyphens, adobe-hyphens, and -moz-hyphens may very well "work" to achieve what you want in a cross-platform manner. You just have to be willing to accept the fact that any "official" validators (based on actual IDPF ePub specifications) are probably going to bark about their inclusion. Last edited by DiapDealer; 05-07-2014 at 04:54 PM. |
|
05-07-2014, 06:12 PM | #5 |
Well trained by Cats
Posts: 29,808
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
That 'bark' is only a yellow caution.
Do worry about any Red flags |
Advert | |
|
05-08-2014, 02:56 AM | #6 |
Ebook-Fan
Posts: 398
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
|
Thank you for your explanation ;-)
|
05-08-2014, 03:39 AM | #7 | |
Member
Posts: 21
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD, Samsung Note II, Kindle and a few more
|
hyphens:none;
Quote:
The property hyphens is not lisedt in the various O'Reilly reference books, but it is worthy to note that the IDPF specs accept it. |
|
05-08-2014, 03:40 AM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre validates CSS against the CSS 2.1 spec. hyphens is not part of that spec. And you should not rely on it being supported by actual reading software.
|
05-08-2014, 03:42 AM | #9 |
Member
Posts: 21
Karma: 10
Join Date: Feb 2014
Device: Kobo Aura HD, Samsung Note II, Kindle and a few more
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
-webkit-hyphens: none; does it work in iBooks? | Balaji | Workshop | 2 | 08-23-2011 10:18 AM |
Any hope to get Webkit on the K2? | travfar | Amazon Kindle | 4 | 01-02-2011 01:26 PM |
Kindle 3 Webkit Browser | toronado | Amazon Kindle | 3 | 09-06-2010 02:08 AM |
Using webkit browser in PB 302 | JimMcLaren | PocketBook | 14 | 06-10-2010 07:31 PM |
WebKit | Jacques_N | PocketBook | 11 | 04-09-2010 05:27 PM |