Closed Bug 290004 Opened 20 years ago Closed 10 years ago

links on page overlap if the link text is "About"

Categories

(Core Graveyard :: GFX: Win32, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bz, Assigned: jshin1987)

References

()

Details

Attachments

(6 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

In the page http://cs.unc.edu/~stewartm/error/index.php if the link has text
"About, it overlaps with other links, but "about" does not!  VERY Weird!  I
looked at in in Mozilla Firefox, but in IE it is "fine."

Reproducible: Always

Steps to Reproduce:
1.go to http://cs.unc.edu/~stewartm/error/index.php
2. look at links on  left
3.go to http://cs.unc.edu/~stewartm/error/other.php
4. look at linsk on left
5. realize that the only change is that the "A" in about has different case in
each page
Actual Results:  
i see that the link text overlaps if it is "About"

Expected Results:  
placed the links on separate lines
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.0 Branch
Attached file reduced testcase
doesn´t overlap if style font-weight:600; is removed.
Both pages look fine with a current Linux trunk build, as far as I can tell. 
Can someone clearly describe the problem (post screenshot if needed)?
#nav {
	border:2px solid #0033ff;
	position:absolute;
	top:76px;
	left:100px;
	width:121px;
}
ul.edit {
	list-style-type:none;
	list-style-position: inside;
	text-indent:-35px;
	}
a {
	border-width:0px;
	color:#0066ff;
	font-size:10px;
	font-family:verdana, arial, helvetica, sans-serif;
	font-weight:600; /* produces overlap, if active */
	text-decoration:none;
	}
/*	font-weight:600; produces overlap, if active */ removed from style
above

height of lower LI now same as upper, 20px instead of 0 px.
height of a stays at 12 px

the overlapping isn't seen if I use text zoom.
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050514
Weird.  I'm totally not seeing this on Linux.  Either it's a bug in a particular
font's metrics, or a bug in Windows platform-specific font code...
Component: Layout → GFX: Win32
Version: 1.0 Branch → Trunk
Attached file a-A testcase (obsolete) —
I´m doing my test with screen resolution 800x600

Left div:  top:30px; left: 30px; width:60px; text: about
Right div: top:30px; left:120px; width:60px; text: About

needed for overlap, removing any one of these shows no overlap:

ul.edit { text-indent:-35px; }

a {	
    font-family:verdana, arial, helvetica, sans-serif;
    font-weight:600; /* produces overlap, if active */
  }

font-weight must be 600, as 500, 599 or 601 didn´t show overlap
Attached image a-A screenshot
Attached file a-A testcase
Attachment #183738 - Attachment is obsolete: true
ul.edit { text-indent:-35px; } must be exactly -35, 
as -36, -34, -30, -25, -15 didn´t show the bug.
It's also font-specific as bz wrote. Verdana has the problem but other fonts
(e.g. Arial) don't. Reducing the font size (as well as enlarging it) makes it
disappear. Other fonts might have a similar problem at a different size with a
different 'indent' specification for 'li'.  What I don't understand is the
difference between 'a' and 'A'. 

Assignee: nobody → jshin1987
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Core → Core Graveyard
This bug has been buried in the graveyard and has not been updated in over 5 years. It is probably safe to assume that it will never be fixed, so resolving as WONTFIX.

[Mass-change filter: graveyard-wontfix-2014-09-24]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: