We have encountered two files where our RS had some trouble rendering the first page. Turned out that the files declared themselves pre-paginated but the first page (nav in both cases) did NOT declare the size of the HTML page size via the meta tag. Subsequent pages render correctly as they DO declare the size. Navigating back to the TOC renders correctly as we use the existing viewport info.
I believe this is a violation of section 2.5.4 of the
spec. Two questions:
- Shouldn’t EPUBCheck flag the missing size as an error?
- What should the RS do in this case? There is no easy way for us to know what the size should be as it is not declared in the OPF. I suppose if we find it missing we could the sniff the next page to find out what size it is, but that’s starting to get convoluted.
The attached file is one of the two causing the problem. It also happens to declare
<meta property="rendition:flow">scroll</meta>
But I don’t think that is relevant.
Thanks
Ric