-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is "font-size:0;" an error?(4.1.0) #922
Comments
Thanks for the report, I'll have a look. I'm adding that tentatively in the 4.1.1 milestone. |
I think I've set |
We also found that our KADOKAWA's EPUBs are affected according to the same errors. We strongly hope that the modified new version will be released or this version will be dropped ASAP because some eBook stores in Japan reject EPUBs with epubcheck's errors. Until then, we have to encourage NOT to use 4.1.0 in Japan. |
In "5. Distance Units: the <length> type" of "CSS Values and Units Module Level 3": > For zero lengths the unit identifier is optional (i.e. can be syntactically represented as the <number> 0). (https://www.w3.org/TR/css-values-3/#lengths)
In "5. Distance Units: the <length> type" of "CSS Values and Units Module Level 3": > For zero lengths the unit identifier is optional (i.e. can be syntactically represented as the <number> 0). (https://www.w3.org/TR/css-values-3/#lengths)
Will this commit be included as part of the upcoming 4.2.0? |
yes: it will in fact be integrated in 4.1.1 (stable release stream, to be released next week), which will then be merged in the 4.2.0 stream. |
I checked an existing EPUB 3.0.1 (reflowable) file by epubcheck 4.1.0, and got an error message.
It says "font-size: 0;" is an error, but is this correct?
file: https:/toshiakikoike/epub_file/tree/master/mymedia
(The file shows no error or warning on epubcheck 4.0.2)
Error message:
ERROR(CSS-020): /home/koike/Downloads/epub_file-master/mymedia.epub/OEBPS/styles/ebook_style.css(152,3): CSS font selector declaration uses unexpected font-size value '0'.
ERROR(CSS-020): /home/koike/Downloads/epub_file-master/mymedia.epub/OEBPS/styles/ebook_style.css(158,3): CSS font selector declaration uses unexpected font-size value '0'. Check finished with errors Messages: 0 fatal / 2 errors / 0 warnings / 0 info
Error detected part in CSS:
I also checked another EPUB 3.0.1 file that contains the same CSS but is fixed-layout, and epubcheck 4.1.0 shows no error.
file: https:/toshiakikoike/epub_file/tree/master/jp_comic_type
Used CSS:
The text was updated successfully, but these errors were encountered: