Closed
Bug 203079
Opened 21 years ago
Closed 19 years ago
Solid 1px borders (via CSS) on anything following img with usemap (including img) rendered as dotted.
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 185467
People
(Reporter: borgille, Assigned: blizzard)
References
()
Details
(Keywords: testcase, top100, Whiteboard: Also occurs at http://www.yahoo.com)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 Any time that a 1px solid border is added using CSS to any element following and including an image that uses a map, the border(s) are rendered as dotted. This seems to affect only 1px borders; anything larger appears to render as it is supposed to. Reproducible: Always Steps to Reproduce: 1. Use this code to create a test file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title> xxxxxxxx </title> <style type="text/css"> .img1{ border: 1px solid purple } .bd1 { border: 5px solid red } .bd2 { border: 1px solid blue } .bd3 { border: 1px solid green } .bd4 { border: 2px solid orange } </style> </head> <body bgcolor="#ffffff"> <img src="testimg.gif" border="0" width="200" height="200" alt="TEST IMAGE" usemap="#testmap" class="img1"> <map name="testmap"> <area shape="rect" coords="10,90,10,90" href="#1"> <area shape="rect" coords="110,190,10,90" href="#2"> <area shape="rect" coords="10,90,110,190" href="#3"> <area shape="rect" coords="110,190,110,190" href="#4"> </map> <br> <table border="0" cellspacing="10" cellpadding="3"> <tr valign="top"> <td class="bd1">this is a line of text</td> <td class="bd2">this is a line of text</td> </tr> <tr valign="top"> <td class="bd3">this is a line of text</td> <td class="bd4">this is a line of text</td> </tr> </table> </body> </html> 2. Make sure that the image exists. This example will not work without an image. 3. View in Mozilla. Actual Results: See summary and details of problem. The same results should be reproduced using the test file as described in the steps to reproduce the problem. Expected Results: 1px solid borders should be rendered as solid regardless of whether images use maps.
Comment 1•21 years ago
|
||
WFM 2003042204 PC/WinXP
Comment 2•21 years ago
|
||
I'm seeing this on Linux current trunk CVS build. Over to GFX, ccing caillon since he sorta knows this code....
Assignee: block-and-inline → blizzard
Status: UNCONFIRMED → NEW
Component: Layout: Block & Inline → GFX: Gtk
Ever confirmed: true
Assignee | ||
Comment 3•21 years ago
|
||
I doubt this is a gfx bug.
Comment 4•21 years ago
|
||
No, I'd guess layout. On top of that though, I don't even see the bug exhibited in the testcase.
Comment 5•21 years ago
|
||
borgille@pobox.com - do you still see this bug in 1.5?
Reporter | ||
Comment 6•21 years ago
|
||
Yep, this is still appearing on 1.5. For those having difficulty seeing the dotted line (the dots are very tiny on my machine), try saving the test file in the "Steps to Reproduce" as a secondary test file, but edit out the USEMAP attribute in the IMG tag. Then compare both files in different browsers. You should see a marked difference between them. Incidentally, I'm *not* seeing this bug on Windows.
Comment 7•21 years ago
|
||
Comment 8•21 years ago
|
||
I also see this, 2003-11-10-05 trunk Linux (and in a current CVS debug build). The bug also occurs with the table borders at the supplied URL. Covering or scrolling the window "repairs" the borders sometimes but not always.
Keywords: testcase
Comment 9•20 years ago
|
||
I still see this in mozilla 1.6 on gentoo.
Comment 10•20 years ago
|
||
*** Bug 254866 has been marked as a duplicate of this bug. ***
Comment 11•20 years ago
|
||
*** Bug 261279 has been marked as a duplicate of this bug. ***
Comment 12•20 years ago
|
||
Also occurs at http://www.yahoo.com (bug 261279) - marking top100. Bug still occurs in Mozilla 2004-09-21-06 trunk Linux.
Keywords: top100
Whiteboard: Also occurs at http://www.yahoo.com
Comment 13•20 years ago
|
||
The reason I think this is GFX is that it's not a problem on Windows, apparently...
Comment 14•19 years ago
|
||
Just fyi.. It seems that tables are not affected by this. 1px Dashed borders appear correctly as dashed and not dotted like 1px solid borders do.
Comment 15•19 years ago
|
||
I have created a "patch" (if you can call "removing one line of code" a patch) for bug 185467, which happens to be the same bug as this one.
Comment 16•19 years ago
|
||
*** Bug 295029 has been marked as a duplicate of this bug. ***
Comment 17•19 years ago
|
||
this worksforme with linux suite trunk 2005052105 (fixed by bug 185467 probably) is anyone else still seeing this bug?
Comment 18•19 years ago
|
||
Oh, yeah. This is fixed. *** This bug has been marked as a duplicate of 185467 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•