Closed Bug 110369 Opened 24 years ago Closed 24 years ago

Lines through images when embedded in tables

Categories

(Core :: Layout, defect, P3)

x86
OS/2
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: jhpedemonte, Assigned: karnaze)

Details

(Whiteboard: PATCH)

Attachments

(2 files)

Sometimes, lines will appear in images when scrolling. This happens if the image is center vertically aligned in a table, the image height is smaller than the table cell height, and the difference between the cell height and image height is odd. When finding out how to vertically align, the code divides the difference by 2. If the difference is odd, this results in a half-pixel value, which leads to the lines through images when redrawing parts of the image.
Attached patch patchSplinter Review
I see lines on the images when I scroll at: http://homepage.mac.com/simonster/PhotoAlbum3.html Not sure if it's the same thing since this bug doesn't have a URL/testcase, but hopefully this fixes that page too. Also noticed a similar problem of text unaligning in the middle during scroll. The top half of the letters were being shifted 1-2 pixels left.
Jeremy, What platform are you running on?
Oct. 26th Linux build. Plan to try a 0.9.6 branch build tomarrow, now that search is finally fixed. I'll see if I still experiance it there.
Keywords: patch
Priority: -- → P3
Whiteboard: PATCH
Target Milestone: --- → mozilla0.9.7
Attachment #58069 - Flags: review+
Bernd, I'm planning to open a new bug if there are case where MoveTo, SizeTo, SetRect are not rounding. But I want to get this in right now. Actually, I think the case you cite would not need to be fixed if the other frames were ok.
Status: NEW → ASSIGNED
The patch is in. Scratch the last part of my last comment. The new bug is bug 110474.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I don't see the lines anymore on the URL I posted. Linux 2001111506, which is before the patch was checked in. May have been a seperate issue.
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: