Closed Bug 490799 Opened 15 years ago Closed 13 years ago

Downsized/scaled down images are rendered with a dark border like line on left and top

Categories

(Core :: Layout, defect)

1.9.1 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 468496

People

(Reporter: findarunhere, Unassigned)

References

()

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4

If a image of size 160x90, just set width to 150. You will be able notice a dark line on left and top of the image.

Reproducible: Always

Steps to Reproduce:
1.Create a HTML file with img tag.
2.Set width, so that image is downsized.

Actual Results:  
There is a dark line on left and top of the image

Expected Results:  
There shouldn't be a dark line on left and top of the image

Firefox 3.0.10 has this issue on Ubuntu 9.10
Do you see such dark lines on that joomlart.com url?

I don't see them with Firefox 3.5b4 or 3.6. If not, could you please attach the image and html that shows the problem? Thanks.
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.9.1 Branch
Attached image Notice black dark line
This screen capture is taken from http://www.joomlart.com/templates_demo.php?template=ja_larix.
Attached image Another test
There following html file is used for this screen capture. This is take from Ubuntu 9.04
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script>
</script>
<style>
img {
    border:0;
}
</style>
</head>
<body>
<img src="rupeespecial.jpg">
<img src="rupeespecial.jpg" width="83" height="68">
<img src="rupeespecial.jpg" border="0" width="70">
</body>
</html>
use HTML markup mentioned in previous comment.
Thanks, so according to comment 0 you see this issue with Firefox 3.0.10 on Ubuntu 9.10, right?

Do you also this it with Firefox 3.5b4?

That seems similar to bug 490997 (which happens with Firefox 3.0.10).
Yes, this also noticeable on Firefox 3.5b4.

But even a normal image below some dimension have these lines.

It seems to be same as bug 490997.
does using XAA or NoAccel solve the problem?
most likely a bug in the Intel-Video driver: http://bugs.freedesktop.org/show_bug.cgi?id=21523
Neither XAA or NoAccel solve the problem for me. I've also posted here:

https://bugs.freedesktop.org/show_bug.cgi?id=21523

I'm extremely eager to have this bug fixed, as the issue has been affecting my system for quite some time now (I believe since Cairo was implemented in Firefox). I'd be happy to take some initiative on the matter as far as investigation/logging etc, and would be more than willing to listen to any thoughts or advice anybody has.

Please also see: bug 490997 and bug 497813. Note that these were filed more recently than the present bug report; thus, I'll limit future updates to the present report and the freedesktop.org bug report referenced above.
Hi, I have this persistent problem on firefox 3.5.3 on Ubuntu 9.10 beta with all latest updates today. I also use the Intel xorg driver (intel 945GME) on a Dell Mini 10v.

Neither XAA or NoAccel solve the problem (in Ubuntu 9.10 only 'uxa' is available for the intel driver and those two options therefore have no effect).
I can confirm this on Ubuntu at 1024x768 resolution.
This could be a dupe of any of bug 490799, bug 490997 or bug 497813 the only problem being none of them are confirmed either.
oops meant that comment for bug 513651
Component: General → Layout
QA Contact: general → layout
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: