Closed Bug 292366 Opened 20 years ago Closed 13 years ago

focus rectangle is partially drawn around img links

Categories

(Core :: DOM: Selection, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugs.caleb, Unassigned)

References

()

Details

(Whiteboard: [testday-20120713])

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050429 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050429 Firefox/1.0+ It seems that focus rectangles appear around image links, while they did not appear in FF 1.0.3. To reproduce: 1. Visit the specified URL 2. At the top of the page there are images: "Spotlight, Dashboard, Safari RSS, etc.." 3. Left click and hold on the "Spotlight" image link. Notice that a focus rect appears around it, but the only parts that are drawn of it are the top, and left. If this is an actual feature (focus rects around image links), then it should draw properly, otherwise it should not display focus rects around image links at all (just like FF 1.0.3) Reproducible: Always
Reproducible with Mozilla 1.8b1 and Mozilla 1.8b2 20050426, only "Mail" seems to have a complete focus rectangle. IE6 displays all focus rectangles as expected.
https://addons.update.mozilla.org/ The "Mozilla update" logo has a strange focus rectangle. Look how it is drawn from the page's left border up to the image.
Minimal testcase would help a lot...
Keywords: qawanted
The issue mentioned in comment 2 is basically the same as mentioned in bug 133165, comment 52.
Attached file Reduced testcase (obsolete) —
Reduced testcase based on URL (with external images from www.apple.com).
What is mentioned in bug 286368, comment 9 is probably related to this, I think.
Is that really reduced? Every single image, cell, and width setting is needed?
Attached file Minimal testcase
(In reply to comment #7) > Is that really reduced? Every single image, cell, and width setting is needed? No, it seems only one link and one image link in a table with 0 cellpadding or spacing is needed.
Attachment #185647 - Attachment is obsolete: true
So all that's going on here, as far as I see, is that the image paints on top of the outline (which sounds like the right behavior to me). You can put the image and the link in the _same_ table cell and get the same effect...
Assignee: selection → nobody
QA Contact: selection
On the testcases in comment 8 and comment 5, I can see full outlines around the links/images. Is this still a problem in FF6+?
Whiteboard: [WFM?]
Caleb, It looks as though the test case is broken, would you please confirm and provide a new test case? Thanks for your help. Best, Paul
Keywords: testcase-wanted
WFM here on both testcases, no focus rectangle appearing Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [WFM?] → [testday-20120713]
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: