A fixed layout document should not be styled (except possibly for themes). No margins, padding or other styles should be injected into the document.
Observed behaviour
Currently, if the author of an EPUB does not specify a margin on the body element, the RS will add a margin of 8 pixels from the user-agent style sheet.
Steps to reproduce
Load the test file (see below)
Check page 4. Note that the red rectangle is cut off
This issue is a Bug
Related issue(s) and/or pull request(s)
https://github.com/readium/readium-shared-js/issues/423
Expected Behaviour
A fixed layout document should not be styled (except possibly for themes). No margins, padding or other styles should be injected into the document.
Observed behaviour
Currently, if the author of an EPUB does not specify a margin on the body element, the RS will add a margin of 8 pixels from the user-agent style sheet.
Steps to reproduce
Test file(s)
https://drive.google.com/open?id=10y7ZJKdoG2yDVfqXLRkCWrDcbRDhW_eq
Product
Additional information
None