Open Bug 54518 Opened 24 years ago Updated 2 years ago

[MF][CBX]No way to turn off focus markers on option menus

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

Future

People

(Reporter: tvl, Unassigned)

References

Details

(Keywords: embed)

nsComboboxboxControlFrame.cpp:2450 start:
       // XXX This is only temporary

not sure how temporary this is, but there needs to be a way to control this via 
css/xul/something.

(sorry if this is a dup, i couldn't find one that seemed to be this problem)
Keywords: embed
Yes, in fact, it can be controlled but it causes a huge performance hit on 
dropping down the list. For now I will leave this open as a way of tracking the 
fix for this issue. So this is really a companion bug of 53744
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: No way to turn of focus markers on option menus → No way to turn off focus markers on option menus
Target Milestone: --- → Future
Are you saying that it can be control via css now or after 53744 is fixed?
Right now it is being controled via style and the C++ code (oops). Ian didn't 
know this when he added the rules to html.css. So at the moment if you removed 
the rule:

:focus:-moz-display-comboboxcontrol-frame {

t would still draw the focus rect, but not right away, only when a repaint was 
forced on the window.

So eventually once we fix the performance problem, the "temp" C++ code can be 
removed and the style rule added back in (or left out).
Summary: No way to turn off focus markers on option menus → [CBX]No way to turn off focus markers on option menus
Set milestone to mozilla0.9
Target Milestone: Future → mozilla0.9
I could do this with a pref in CSSFrameConstructor and set a class static 
boolean, but that is about it. Anything else would be really hard
Summary: [CBX]No way to turn off focus markers on option menus → [MF][CBX]No way to turn off focus markers on option menus
*** Bug 60772 has been marked as a duplicate of this bug. ***
Target Milestone: mozilla0.9 → mozilla0.9.1
QA Contact Update
QA Contact: bsharma → vladimire
Target Milestone: mozilla0.9.1 → mozilla1.0
Blocks: 77421
Moving to Future
Target Milestone: mozilla1.0 → Future
Priority: P3 → --
Assignee: rods → nobody
Status: ASSIGNED → NEW
QA Contact: vladimire → layout.form-controls
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.