Closed Bug 67966 Opened 24 years ago Closed 22 years ago

Focus ring for image link goes through image instead of around it

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 133165

People

(Reporter: jsp, Assigned: karnaze)

References

Details

Attachments

(3 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010125
BuildID:    2001012504

The focus ring around an image contained in an anchor tag only encloses the
lower part of the image, and is visible only where the image is transparent.

Reproducible: Always
Steps to Reproduce:
Load one of the attachments and use the tab key to navigate to each of the images.

Actual Results:  The focus ring gets drawn around the lower part of each image
(about the lower half on Windows, about the lower third on Macintosh). It's
visible only where the image is transparent. If the doctype is XHTML, the focus
ring extends below the image.

Expected Results:  The focus ring should always be drawn on top of the perimeter
of each image.

See the attachments for further details. Also seen on Macintosh build
2001020208, though as noted above the manifestation varies slightly.
The focus ring is just implemented as a border for the focused element is it
not?  the issue may be that :focus is not hierarchical here...  if so, this is
related to bug 5693

ccing some people who should have a better idea of what's going on.
See also bug 52311.
This is just that we don't draw '-moz-outline' like we should (that's why it's
called '-moz-outline' and not just 'outline' in fact).

This is a dup of whatever bug complains about our lack of 'outline' support.
Would that be bug 6647? That seems plausible, at least.
Yeah thats it.

*** This bug has been marked as a duplicate of 6647 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
There seem to be two bugs here:
bug 5693, which makes it so that if you click on an image within a link, the 
link doesn't change to the :focus and :active states.
bug 6647, which makes it so that if you click on another part of a link that 
contains an image, the focus outline is drawn through the image rather than 
around it.

(This bug is currently marked as a duplicate of bug 6647, which is fine.)
See also bug 85354, a related problem involving background colors for :hover.
*** Bug 96621 has been marked as a duplicate of this bug. ***
Summary: Focus ring not drawn correctly around image anchors → Focus ring for image link goes through image instead of around it
This is really a dup of bug 133165, one of the parts of bug 6647.
Reopening to mark as a dup of 133165.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---

*** This bug has been marked as a duplicate of 133165 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: