Closed
Bug 74542
Opened 23 years ago
Closed 16 years ago
table with background/transparent images not rendered properly
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: cpicton, Unassigned)
References
()
Details
(Keywords: platform-parity, Whiteboard: [needs review])
Attachments
(1 file)
1.12 KB,
patch
|
Details | Diff | Splinter Review |
Using build 200104221 on linux Ref http://ftp.uskonet.com/test/test.html The table images are set out as follows: +----------+------------------------------------------------+-----------+ | topleft| top |topright | +----------+------------------------------------------------+-----------+ | left| |right | +----------+------------------------------------------------+-----------+ |bottomleft| bottom |bottomright| +----------+------------------------------------------------+-----------+ Under IE, the table is rendered correctly Under mozilla, the corner images (topleft/topright/etc) are not fully rendered (some parts are left blank), and are not placed correctly within the cell. The images top,bottom,left,right are not aligned correctly either.
Comment 1•23 years ago
|
||
adding "display:block" (see bug 22274) to the images fixes the alignment of the top,left,right,bottom cells. The other problem (the corner images not positioned correctly) is still there. There basically seems to be some space between the images and the border of the cell. Posible imagelib problem? (in that a part of the image is shown transparent when it should not be).
Comment 2•23 years ago
|
||
This was fixed a couple days ago WORKSFORME Platform: PC OS: Windows 98 Mozilla Build: 2001042304 Marking WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 3•23 years ago
|
||
I still see the problem with linux build 2001-04-23-08. Linux-only bug...
Comment 4•23 years ago
|
||
definitely an imagelib problem and a dup, but I can't find the original...
Assignee: karnaze → pavlov
Component: HTMLTables → ImageLib
QA Contact: amar → tpreston
Whiteboard: DUPEME
Comment 5•23 years ago
|
||
I believe this is a dup of 50974 and I am marking it as that, if I am wrong, please reopen *** This bug has been marked as a duplicate of 50974 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
Comment 6•23 years ago
|
||
reopening. the images in question are gifs, not pngs.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 7•23 years ago
|
||
Veryfying on existence of bug 81130 and bug 83087. However they are both dups of bug 50974. Either they should be made dups of this one or this bug should be reverted to a dup status, too (it was already a dup of bug 50974)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.3
Comment 8•23 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night. Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Reporter | ||
Comment 9•23 years ago
|
||
I just created a new test on the original page. I took the gifs, converted them to pngs and made a new table using pngs The table using pngs renders correctly, the one using gifs doesn't
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.8
Comment 11•23 years ago
|
||
Reassigning to nivedita
Assignee: pavlov → nivedita
Whiteboard: DUPEME
Target Milestone: mozilla0.9.8 → ---
Comment 12•23 years ago
|
||
also see this on win-xp build 2002021108
OS: Linux → All
Hardware: PC → All
Comment 13•22 years ago
|
||
I have attached the patch which fixes the bug partially. The gif has image size as 21*21, but the screen_width and screen_height are 24*24. The image was not getting correctly displayed because a frame of 21*21 was being created for this gif. Hence to avoid this, in AppendFrame, I have addded a check if the gif in non animated and it is the first frame, and if the screen dimesions are greater than image dimensions then create a frame of screen dimesions. But some how this is fixing the bug partially. This patch also fixes the bug 113561, but partailly :(.
Updated•22 years ago
|
Whiteboard: [needs review]
Comment 14•22 years ago
|
||
Err... yeah, horizontal alignment looks good now on the GIF version, but vertical (strictly the top three images) is still off (ie, a gap). Also, and this may just mean that I did something wrong of course, before the patch (today's source) the GIFs had transparent bits, now they have black bits and a handful of (regularly scattered) little coloured dots at the bottom. The latter is probably a side-effect of the incorrect vertical alignment I suppose. I'll try a 'make clean' and try it again (and retry without the patch to check for blackness, for sanity's sake)
Comment 15•22 years ago
|
||
Well, it's not quite right, it definitely seems to have black (noise?) background, where it should be set to the background colour, which I presume is because of: + FillWithColor(mCompositingFrame, 0); ...without setting the fill colour first. Maybe.
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla1.1alpha
Comment 18•21 years ago
|
||
paper, any ideas here?
Comment 19•18 years ago
|
||
> Ref http://ftp.uskonet.com/test/test.html
testcase is gone
Assignee: pavlov → nobody
QA Contact: tpreston → imagelib
Comment 20•16 years ago
|
||
bug is 7 years old, resolved WFM on Windows, testcase is gone 2 years ago, so I'm resolving this bug as INCOMPLETE/Linux only
Status: NEW → RESOLVED
Closed: 23 years ago → 16 years ago
OS: All → Linux
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•