Closed Bug 38656 Opened 25 years ago Closed 25 years ago

Non repeating bg image gets funny black line underneath in <TH>

Categories

(Core :: Graphics: ImageLib, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 37589

People

(Reporter: paul, Assigned: pnunn)

References

()

Details

(Whiteboard: [nsbeta3-])

A non-repeating, small background image seems to result in a small black line underneath. This is visible in the center column, in the title for each article. I'm currently looking at it with Linux nightly build 2000050820 but I have also seen it in Windows builds. The valid part of the style sheet is probably: DIV.article TABLE TH { background-image : url("slc00000.gif"); background-position: top left; background-repeat : no-repeat; padding-left : 10px; text-align: left; background-color: #006666; color: #FFFFFF; font-weight: bolder; } but the whole thing can be got at here: http://homepages.tig.com.au/~mcgarry/opera/styledemo/screen.css (As a side note the page itself is a conversion of a Slashdot page to valid HTML4 and CSS in order to demonstrate media-specific (screen, print and projection) style sheets under Opera 4 beta 3, apart from this bug Mozilla also renders it very well for screen)
This image is causing trouble in bug 37589 as well, but it would be interesting to find out why the image shows up as black on this page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Using 'identify' (part of the imagemagik toolkit) on the image generates the following output: ------ [paulm@beefcake slashdot]$ identify -verbose slc00000.gif Image: slc00000.gif format: GIF (CompuServe graphics interchange format) type: true color with transparency class: DirectClass matte: ( 50,102,100) #326664 colors: 8 123: ( 50,102,100) #326664 #326664 2: ( 70, 82, 84) #465254 #465254 6: ( 90,114,111) #5a726f #5a726f 2: (122,134,132) #7a8684 #7a8684 1: (138,166,164) #8aa6a4 #8aa6a4 1: (170,170,188) #aaaabc #aaaabc 4: (206,206,204) #cececc #cececc 30: (254,254,252) #fefefc #fefefc geometry: 13x13 depth: 8 filesize: 139b interlace: Plane background-color: #465254 border-color: gray74 matte-color: gray74 page geometry: 13x16+0+0 delay: 10 compression: LZW runlength packets: 36 of 169 tainted: False signature: 98b984cc9f166d150e939321bcc56d3a comments: Made with GIMP ---- It looks like it may have something to do with the fact the lines: geometry: 13x13 and page geometry: 13x16+0+0 have different height values? I don't know enough about gifs to understand what this means, but The Gimp renders it as a 13x16 image with a sort of 'active' 13x13 window starting from the top left. Seeing as we are seeing wierdness in the lower few pixels this seems pertinant.
This bug was originally filed against the Style System but the more recent comments point to the GIFs. Reassigned to Imagelib.
Assignee: pierre → pnunn
Component: Style System → ImageLib
QA Contact: chrisd → elig
I think this is a dupe. I'll check into it. -P
Status: NEW → ASSIGNED
Target Milestone: --- → M17
Keywords: nsbeta3
Target Milestone: M17 → M18
Whiteboard: [nsbeta3-]
Pam do you have the dup number? this seems to me as a minus otherwise.
*** This bug has been marked as a duplicate of 37589 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.