Images with width and height specified causes page overflow
Closed this issue · 1 comments
MurakamiShinyu commented
Sample: https://gist.githubusercontent.com/MurakamiShinyu/2d7940481da5d21268410de0a57b2170/raw/sample-1.html
In this sample the image has width and height properties specified, as follows:
img {
width: 540px;
height: 400px;
}
Test with Vivliostyle Viewer v2.29.0: https://vivliostyle.github.io/viewer/v2.29.0/#src=https://gist.githubusercontent.com/MurakamiShinyu/2d7940481da5d21268410de0a57b2170/raw/cbb03b4a7debc07eaca4db93fa45c6d00f223c30/sample-1.html
Result screenshot:
Page overflow happens.
This issue does not occur if image height is auto. (with img { height: auto; }
)