- Joined
- Jun 18, 2007
- Messages
- 65,761
- Likes received
- 32,624
- Thanks received
- 10,021
- Location
- Your local branch
This is the only place I've seen this so far
No vertical scroll in FF but you get 'em with Chrome.
Complex one. Images in posts are set to a max-width of 800px, which IIRC was done in a vague attempt to discourage idiots from posting images that are clearly too large (which didn't work). The dimensions of the actual image are 964 x 961 pixels. Chrome enforces the max-width of 800px by scaling the image down; this makes the height 800 / 964 * 961 = 797.510373443984 pixels. When it calculates the height of the containing box, it rounds this down, so the box is 797px high. This makes it about half-a-pixel too short for the height of the image (which is the height Chrome itself imposed), so it shows a scrollbar.
I'd say that's a bug in Chrome. It should round up to ensure that the containing block is big enough for a contained element whose size it has scaled to be a fractional number of pixels. So there.


