CSS warnings from Google Play epub upload

7 views
Skip to first unread message

Douglas Smith

unread,
Aug 26, 2025, 10:16:08 PM (11 days ago) Aug 26
to anthemion-jutoh
I loaded a Jutoh-produced epub to Google Play recently. The epub was accepted but it provided the warning(s) shown below about the CSS. 

I've never had warnings before for any epub from Jutoh. Can anyone point me to a solution?

====================================

Fixes Recommended

The CSS in this ePub has the following warnings. These do not prevent the book from going live, but may result in unexpected content formatting. Please correct and resubmit.

Removing declaration (Bad property: adobe-hyphenate) at line 13 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 15 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 16 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 28 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 30 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 31 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 43 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 45 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 46 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 58 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 60 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 61 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 73 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 75 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 76 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 88 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 90 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 91 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 126 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 128 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 129 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 141 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 143 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 144 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 156 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 158 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 159 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 171 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 173 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 174 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 185 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 187 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 188 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 199 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 201 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 202 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 888 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 890 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 891 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 958 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 960 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 961 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 972 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 974 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 975 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 995 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 997 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 998 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,009 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,011 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,012 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,032 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,034 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,035 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,046 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,048 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,049 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,069 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,071 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,072 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,083 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,085 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,086 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,106 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,108 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,109 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,129 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,131 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,132 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,383 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,385 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,386 column 3:
  -webkit-hyphens: none;
  ^

Removing declaration (Bad property: adobe-hyphenate) at line 1,411 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 1,413 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 1,414 column 3:
  -webkit-hyphens: none;
  ^


Fixes Recommended <br> The CSS in this ePub has the following warnings. These do not prevent the book from going live, but may result in unexpected content formatting. Please correct and resubmit.
Removing declaration (Bad property: adobe-hyphenate) at line 5 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 7 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 8 column 3:
  -webkit-hyphens: none;
  ^


Fixes Recommended <br> The CSS in this ePub has the following warnings. These do not prevent the book from going live, but may result in unexpected content formatting. Please correct and resubmit.
Removing declaration (Bad property: adobe-hyphenate) at line 5 column 3:
  adobe-hyphenate: none;
  ^

Removing declaration (Bad property: -moz-hyphens) at line 7 column 3:
  -moz-hyphens: none;
  ^

Removing declaration (Bad property: -webkit-hyphens) at line 8 column 3:
  -webkit-hyphens: none;
  ^



Julian Smart

unread,
Aug 27, 2025, 5:56:14 AM (11 days ago) Aug 27
to anthemi...@googlegroups.com
Hi Douglas,

It a while before hyphenation control was officially introduced into CSS and ebooks, so it has been necessary to support different CSS properties for a wide range of platforms. The official way to switch hyphenation on and off is now via the "hyphens" property, but it's hard to find out whether some platforms still need the older properties. If not, then I'd be happy to remove this code, but there may be legacy readers that still need it.

Since Google is stripping out the unrecognised properties, this warning is harmless, but obviously in future it would be nice to eliminate them and I'll have a think about how best to do it, without cluttering up the user interface too much (or preferably at all).

The reason why Jutoh is adding the properties is because in your configuration, the option "Styles suppressing hyphenation" is set to the pattern "Heading*". This matches all heading styles with that prefix and so CSS is generated to suppress hyphenation for headings (since that's established convention).

It's possible that Google will suppress hyphenation for headings anyway - I don't know - and therefore you could clear the option "Styles suppressing hyphenation" to avoid the warnings. If you want to add hyphenation back without the warnings, you could add this to the Custom CSS field of your style sheet by editing its properties:

h1, h2, h3, h4, h5, h6 {
hyphens: none;
}

(assuming your headings are being written as h1 etc. due to your heading names matching the value of "Heading style prefix").

Or you can edit a particular style in Jutoh, and in Advanced/More properties/Custom properties, add "hyphens: none;" or use the Custom CSS tab.

But the easiest route of course is to just ignore the warnings for now.

Regards,

Julian
--
You received this message because you are subscribed to the Google Groups "anthemion-jutoh" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anthemion-jut...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/anthemion-jutoh/a7e2031a-488c-4db6-9505-5062bfff1915n%40googlegroups.com.


Douglas Smith

unread,
Aug 27, 2025, 9:02:28 PM (10 days ago) Aug 27
to Julian Smart, anthemi...@googlegroups.com
Julian, thanks for the quick reply and explanation. Yeah, I think I'll just ignore the warnings from Google Play. FYI, none of the other retail platforms (Amazon, Kobo, B&N, Apple) flagged any errors or problems.

Thanks again. I love Jutoh and am always impressed by your speed in replying to queries.

Best, Doug
 
Douglas Smith | Writing the Fantastic      4-time Aurora Award Winner
THE HOLLOW BOYS Aurora Award & Juried IAP Award, Best YA Novel

Website  |  Bookstore  Free book  LinkTree  |  Follow me:  Amazon  BookBub  Facebook  BlueSky


You received this message because you are subscribed to a topic in the Google Groups "anthemion-jutoh" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/anthemion-jutoh/hsBVpEvTv64/unsubscribe.
To unsubscribe from this group and all its topics, send an email to anthemion-jut...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/anthemion-jutoh/9aeda22a-c260-4ce8-abde-033771efdf8f%40gmail.com.
Reply all
Reply to author
Forward
0 new messages