-
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
Incorrect unit not detected #529
Labels
Milestone
Comments
This is falsely reported as
in EpubCSSCheckCSSHandler.java#L566 which is kind of true as EpubCheck recognizes |
tofi86
added a commit
that referenced
this issue
Jul 3, 2017
just make sure that '1m' is not reported as a valid length unit
Fixed this with PR #776 |
tofi86
added a commit
that referenced
this issue
Sep 29, 2017
* add 'ex' as valid font-size length unit and 'inherit' as valid keyword * add CssParser UnitTest for invalid font-size value '1m' // refs #529 just make sure that '1m' is not reported as a valid length unit * report unsupported font-size values (Units and keywords) as ERROR changes CSS_020 from USAGE to ERROR * add non-relative font-size to ACC_014/ACC_016 USAGE message * add jUnit test with all supported and some invalid CSS font-size values * update other tests and test resources to match new message format and severity
Fixed with PR #776 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When validating epubcheck ignores an incorrect CSS syntax.
I've got "1m" instead of "1em" and the epub validated with no problems or warnings (it crashed when opening with Adobe Digital Editions).
The text was updated successfully, but these errors were encountered: