Originally posted by
@edas
at
readium/readium-js#49

See screenshot (in the right page : lack of a few characters on end of line, and lack of the blue right border of the "note"). Both reproduceable in Firefox and Chrome, both in master and in develop branches. This example is with the file "accessible epub 3" from readium-js-viewer.
When resizing little step per little step, it is easy to find a step where the second column is truncated of a few pixels.
In my example, here a few metrics :
- #reflowable-content-frame (
<div> surrounding the <iframe>) is of 766.5 pixels
- iframe is of 767 pixels
- inner html document is 767 pixels with 353px columns and 60px gap
The total (2 columns + gap) should fit in the iframe, but does not.
<p>in the columns have 353.5px (and not 353px) however there are more than 1 pixel missing at right so I doubt this rounding error is the root problem.
However, the <aside> surrounded by a blue border has 335.5px widht + 2_8px padding + 2_1px border. This may have to be investigated as a potential cause of the problem.
Originally posted by
@edas
at
readium/readium-js#49
See screenshot (in the right page : lack of a few characters on end of line, and lack of the blue right border of the "note"). Both reproduceable in Firefox and Chrome, both in master and in develop branches. This example is with the file "accessible epub 3" from readium-js-viewer.
When resizing little step per little step, it is easy to find a step where the second column is truncated of a few pixels.
In my example, here a few metrics :
<div>surrounding the<iframe>) is of 766.5 pixelsThe total (2 columns + gap) should fit in the iframe, but does not.
<p>in the columns have 353.5px (and not 353px) however there are more than 1 pixel missing at right so I doubt this rounding error is the root problem.However, the
<aside>surrounded by a blue border has 335.5px widht + 2_8px padding + 2_1px border. This may have to be investigated as a potential cause of the problem.