-
Notifications
You must be signed in to change notification settings - Fork 417
Closed
Labels
priority: mediumTo be processed and published in one of the upcoming releasesTo be processed and published in one of the upcoming releasesstatus: has PRThe issue is being processed in a pull requestThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejectedThis issue is about valid content being incorrectly rejected
Milestone
Description
<meta name="viewport" content="width=1007.9999999999999, height=1360.8" />
ERROR(HTM_057): [path to epub]/OEBPS/section_1.xhtml(199,79): Viewport "width" value must be a positive number or the keyword "device-width"
ERROR(HTM_057): [path to epub]/OEBPS/section_1.xhtml(199,79): Viewport "height" value must be a positive number or the keyword "device-height"
For the above viewport declaration in the HTML, I'm getting the below ERROR messages from epubcheck 5.0.0 (this file does not generate an error in epubcheck 4.2.6).
This affects very few of our files (2 out of 4000 FXL files tested) and in my personal opinion, it seems a bit weird to have a viewport in decimals like that. I'd be OK adjusting the error messaging to say whole numbers instead of fixing epubcheck to use floats BUT I'm not the right person to make that call!
prithiviclteam
Metadata
Metadata
Assignees
Labels
priority: mediumTo be processed and published in one of the upcoming releasesTo be processed and published in one of the upcoming releasesstatus: has PRThe issue is being processed in a pull requestThe issue is being processed in a pull requesttype: false-positiveThis issue is about valid content being incorrectly rejectedThis issue is about valid content being incorrectly rejected