Open
Bug 725874
Opened 13 years ago
Updated 3 years ago
Native widget styling should respect pseudo-class locks
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: harth, Unassigned)
Details
With bug 708874, you can lock :hover, etc. styles on an element. The native styles for widgets like buttons though aren't applied right now with these locks, so we should do that.
Comment 1•13 years ago
|
||
Do you have any example of native widgets that do not support the lock? Seems like stuff like :hover are using |eventState.HasState(NS_EVENT_STATE_HOVER)| at least for the GTK2 widget backend. Some states depending on the attribute might be checked with the attribute instead of the pseudo-class though.
| Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Mounir Lamouri (:volkmar) (:mounir) from comment #1)
> Do you have any example of native widgets that do not support the lock?
> Seems like stuff like :hover are using
> |eventState.HasState(NS_EVENT_STATE_HOVER)| at least for the GTK2 widget
> backend. Some states depending on the attribute might be checked with the
> attribute instead of the pseudo-class though.
Any native widget with pseudo-class styles isn't respecting the locks right now. But as bz mentioned in bug 708874 it's just a matter of nsNativeTheme::GetContentState checking the locks.
Comment 3•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•