Open Bug 110143 Opened 23 years ago Updated 2 years ago

make css outline work on image map areas

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

Future

People

(Reporter: aduffy, Unassigned)

References

()

Details

(Keywords: access, css2, testcase)

Using Mozilla.0.9.5

I edited the file "all.js" to set "browser.display.focus_ring_width" to "4".(It
was originally "1")

I edited "browser.display.focus_ring_on_anything" to "true". (It was originally
"false")

I then navigated to www.yahoo.com and moved the focus using the TAB key. The
focus ring around regular links, text areas, and buttons displayed as a thick
black dashed outline. BUT when the focus ring was shifted around any of the six
links (Calendar, Messenger, Check Email, etc.)at the top of the Yahoo page that
are part of an imagemap, the outline went back to being a thin dotted line.I was
  expecting the focus ring to remain as a thick dashed one.
layout.
Assignee: asa → attinasi
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
QA Contact: doronr → petersen
Summary: the focus ring around images in an imagemap cannot be changed from a thin dotted black outline. → the focus ring around images in an imagemap cannot be changed from a thin dotted black outline.
Target Milestone: --- → Future
This bug makes the focus outline around the toolbar images at
http://netscape.com/ almost invisible because the background color is dark blue.
 As the reporter pointed out, this bug also breaks customizing the focus outline.

I think the best fix would be to support -moz-outline for imagemap areas,
including areas that are not rectangular.
Blocks: css2outline
Severity: normal → major
Keywords: access
OS: Linux → All
Hardware: PC → All
Summary: the focus ring around images in an imagemap cannot be changed from a thin dotted black outline. → the focus ring around imagemap areas cannot be changed from a thin dotted black outline.
roc, I'm handing this to you since you seem to own the other focus bugs and I'm
trying to triage stuff off of attinasi's plate and out of "Layout"; apologies if
I'm wrong.
Assignee: attinasi → roc+moz
Component: Layout → Style System
Keywords: css-moz
"focus" rings on imagemap areas are handled by nsImageMap::Draw (and a bit by
nsImageFrame::Paint) instead of using the generic :focus code.  The right fix,
would sorta be to apply :focus to imagemap areas, imo.  Though the fact that
they lack frames may make this impossible.
No longer blocks: css2outline
Severity: major → normal
Depends on: css2outline
Keywords: css-mozcss2, testcase
Blocks: css2outline
No longer depends on: css2outline
Summary: the focus ring around imagemap areas cannot be changed from a thin dotted black outline. → make css outline work on image map areas
Might this bug be in any way related to bug 328193? That's a drawing problem with outline (or -moz-outline) around parts of tabs in Mac. If border is used instead of outline, there's no issue.
QA Contact: chrispetersen → style-system
Blocks: 67939
Blocks: 79067
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.