Closed
Bug 497813
Opened 16 years ago
Closed 14 years ago
Partial borders appear around images with height and/or width scaled down via HTML
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 468496
People
(Reporter: myaverageorange, Unassigned)
Details
Attachments
(7 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4
On certain operating systems, Firefox renders a black one-pixel border at the top and left of images that have been scaled via the site's HTML (e.g., <img src="demo.jpg" width="499px" height="499px"/>)
Reproducible: Sometimes
Steps to Reproduce:
1. Open Firefox on certain operating systems and possibly certain hardware (wish I could identify a more reproducible pattern, but this is the best I can do for now; see http://forums.fedoraforum.org/showthread.php?t=207034 and http://forums.mozillazine.org/viewtopic.php?f=9&t=1042335 and http://ubuntuforums.org/showthread.php?p=7209765 for discussion re hardware and software profiles with which the problem has been observed)
2. Navigate to a website that has images that have been resized via HTML (see, e.g., the main logo at http://www.guardian.co.uk)
Actual Results:
A black one-pixel line appears at the top of the image and at the left of the image.
Expected Results:
No such lines should appear.
I have observed this behavior on all versions of Firefox 3.x on my Fedora box (but not on e.g., the Widows XP box I use at work).
The hardware profile for my Fedora system is as follows:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
Can you reproduce in an official (non-distro) build from http://getfirefox.com please?
http://kb.mozillazine.org/Installing_Firefox#Linux
Just checked this. Removed Firefox, and downloaded and installed generically from http://getfirefox.com. Problem persists. Tested on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11.
Component: General → Layout: Images
Product: Firefox → Core
QA Contact: general → layout.images
That guardian image has the dimensions of 52px × 344px
and the html code to display it is height="52" width="343".
Can you confirm that it only happens by resizing the image width down by one pixel, and possibly upload some example images to this bug for testing with?
Reporter | ||
Comment 10•16 years ago
|
||
Reporter | ||
Comment 11•16 years ago
|
||
I've experienced the problem when images are scaled down lengths greater than 1
pixel. I don't believe I have experienced the problem when images are scaled up
though (I should have mentioned this in the bug report). Also, I believe there
have been instances in which an image have been scaled down but the border did
not appear; unfortunately, I haven't been able to pinpoint what exactly might
be unique about such situations.
I've attached a test page I created a few months ago to try to narrow down the
problem. The page loads four images at various sizes; the images are attached
to the bug report and should be placed in the same directory as the test page.
I've also attached a screen shot of the test page as it appears in Firefox
(borders around scaled images) and a screen shot of the test page as it appears
in Midori (no borders).
Comment 12•16 years ago
|
||
Hover on each image for a description of the scaling done.
Attachment #383071 -
Attachment is obsolete: true
Reporter | ||
Comment 13•16 years ago
|
||
I get black lines at top and left for ALL the images that were scaled down (rows 2 and 5). No lines for the unscaled images, and no borders for the upscaled images. Screen shots here:
http://imgur.com/GKiXG.png
http://imgur.com/jRh7Y.png
AdBlock Plus is installed in those screen shots, but I tested with the problem with all plugins disabled as well; unfortunately, it doesn't seem to make a difference.
All screen shots are from PrtSc (which loads Gnome's screen shot application). Interestingly, the lines don't appear when I print the page to pdf. Also, while I don't currently have the Abduction plugin enabled (as it doesn't work with 3.5 Beta 4), my recollection is that the lines don't appear when I save pages as images via Abduction.
Comment 14•16 years ago
|
||
Interesting - the images that have width scaled down but height scaled up (and vice versa) have no black lines in your screenshots.
Summary: Partial borders appear around images that are scaled via HTML → Partial borders appear around images with height and/or width scaled down via HTML
Comment 15•16 years ago
|
||
Related to bug 487996 and bug 450140 (screenshots show same symptoms)
Dupe of either bug 490799 or bug 490997 or those are both dupes of this one, depending which one is changed from unconfirmed to new first.
Reporter | ||
Comment 16•16 years ago
|
||
Thanks for those links. This problem does in fact appear to be identical to that reported in bug 490799 and bug 490997; apologies for the redundancy.
Comment 17•16 years ago
|
||
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
Comment 18•16 years ago
|
||
I have experienced this problem today 8/sep/2009 only in one of my 3 machines that are running UBUNTU 9.04. The faulty one is running the lates 9.04 Ive dwled 3 days ago the other 2 are running since March with ubuntu 9.04 with no problem at all.
I think that this is has to do with the rendering machine of Gnome in the case some libs of any other interface is added except the once of the pure installation. I think that the problem started after I ve installed wallpaper-tray application/Extention for gnome. So try to think if you have installed any additional Gnome/xwindows FX libraries that are not preinstalled in the pure release. Suspect:
libgconfmm-2.6-1.c2 which is a C++ wrapper for
libgconfmm and any other C++ wrapper of any gnome lib or interface
Let me know if you find something dpritsos@xtremesports.gr
THX!
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•