![]() |
#1 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jun 2010
Device: none
|
Validation Error epub3
Can anyone help?
I have this piece of code showing up as a warning after validation (the funny thing is that the code passes when you use EPubcheck 4.0.0 but when you use EPubcheck 3.0.1 this warning appears) background-image: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 26, from(white), color-stop(0.4, rgba(248,255,128,.5)), to(transparent) ); The warning is "WARNING: file.epub/OEBPS/css/p09.css(2): Token ')' not allowed here" For the life of me I cannot see what is wrong - obviously something is but I cannot see it. I am trying to upload to Kobo who must be using the older version of EPubcheck as they say it does not validate properly. Thanks in advance Soparch |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
This is definitely an epubcheck 3.01. bug. Apparently it doesn't like rgb color-stop values. Try replacing them with a hex value. The following appears to work:
Code:
background-image: -webkit-gradient(radial,50% 50%, 0, 50% 50%, 26,from(white),color-stop(0.4, #F8FF80),to(transparent));
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
Better to email Kobo and ask them to update their buggy validator. :-) You might also try adding a space between the close parentheses in case it's a really silly parser bug. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB3 footnote validation | roger64 | Workshop | 11 | 06-03-2015 07:56 AM |
iBooks TOC error in EPUB3 | brownetu | ePub | 13 | 08-15-2014 01:32 AM |
Epub3 XHTML Validation epub3 | Ramesh Arpitha | ePub | 5 | 06-30-2014 08:32 PM |
Validation errors on epub3 sheet music document | maestroc | ePub | 9 | 11-05-2013 06:43 PM |