Closed Bug 306179 Opened 19 years ago Closed 19 years ago

Fixed positioned links with negative text-indent not clickable anymore

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 308521

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(2 files)

This was originally reported here: http://forums.mozillazine.org/viewtopic.php?t=310465&start=15&#1702068 I'll attach the testcase. This worked in 2005-08-22 trunk build, but fails in 2005-08-23 trunk build, so I'm guessing a regression from bug 296036.
Attached file testcase
No longer blocks: 296036
Depends on: 305944
Confirmed on Mac OS X. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20050827 Firefox/1.6a1 ID:2005082715
This seems to also effect links when they or an ancestor has a negative left margin inside of a fixed element, as on http://www.w3.org/Style/ . I can click on the navigation links, but not exactly where I should be able to (the right side of the links isn't clickable/hoverable when it should be, and the area to the left of the links is clickable/hoverable when it shouldn't be).
The fix for clipping in bug 305944 doesn't fix this regression bug. Tested with: SeaMonkey: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050901 SeaMonkey/1.1a Firefox: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050901 Firefox/1.6a1 ID:2005090116 As per: http://forums.mozillazine.org/viewtopic.php?p=1704050#1704050 ... and the post before it.
Attached file testcase2
I suspect it is the same issue, so that's why I'm posting this second testcase here.
Summary of: http://forums.mozillazine.org/viewtopic.php?p=1740878#1740878 Fixed menu at http://www.w3.org/Style/CSS/ seems to have clickable area offset in current builds. Using EditCSS to change the rule: body>div#Menu, body>div.map { position: fixed } to: body>div#Menu, body>div.map { position: absolute } ... resolved the clickable area issue. Curiously, the links only have text-indent set to "0", so the offset seems to be dependant on margin/padding too...
Fix as suggested in bug 308521 works as expected with sites reported in bug 308521 and bug 306179 and all test-cases in said bugs. Texted with build: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050918 Firefox/1.6a1 ID:2005091820
Yes, this is already fixed. Like Jonathan said, very likely fixed by bug 308521. *** This bug has been marked as a duplicate of 308521 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: