Closed
Bug 110369
Opened 24 years ago
Closed 24 years ago
Lines through images when embedded in tables
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: jhpedemonte, Assigned: karnaze)
Details
(Whiteboard: PATCH)
Attachments
(2 files)
|
790 bytes,
patch
|
Details | Diff | Splinter Review | |
|
797 bytes,
patch
|
bernd_mozilla
:
review+
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
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.
Comment 3•24 years ago
|
||
Jeremy,
What platform are you running on?
Comment 4•24 years ago
|
||
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.
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Attachment #58069 -
Flags: review+
shouldn't we fix
http://lxr.mozilla.org/seamonkey/source/layout/html/table/src/nsTableOuterFrame.cpp#507
also, which shows the same pattern?
| Assignee | ||
Comment 7•24 years ago
|
||
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
| Assignee | ||
Comment 8•24 years ago
|
||
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
Comment 9•24 years ago
|
||
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.
You need to log in
before you can comment on or make changes to this bug.
Description
•