Closed
Bug 738054
Opened 13 years ago
Closed 13 years ago
Setting :focus in DOM pseudoClass dialog doesn't work
Categories
(Other Applications :: DOM Inspector, defect)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(1 file, 2 obsolete files)
2.07 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
Since Gecko 1.9.2 the focus content state stopped being handled by the ESM and is now handled by the focus manager, and trying to set the focus content state simply doesn't work. However for Gecko 13 a new API was added to inDOMUtils by bug 708874 and this API does work to emulate the focus state.
I don't know whether it's worth disabling the focus checkbox for Gecko 1.9.2 to Gecko 12.
Assignee | ||
Comment 1•13 years ago
|
||
Rather conveniently the new API uses the same strings as the checkbox labels.
I didn't want to consider adding other strings as that would be out of the scope of this bug.
Comment 2•13 years ago
|
||
Comment on attachment 608108 [details] [diff] [review]
Proposed patch
Review of attachment 608108 [details] [diff] [review]:
-----------------------------------------------------------------
Brace all control statement bodies, please.
Attachment #608108 -
Flags: review?(Sevenspade) → review+
Assignee | ||
Comment 3•13 years ago
|
||
I wasn't quite sure what you wanted so I braced some existing code as well.
Attachment #608108 -
Attachment is obsolete: true
Attachment #608161 -
Flags: review?(Sevenspade)
Comment 4•13 years ago
|
||
Comment on attachment 608161 [details] [diff] [review]
Addressed review comments
Review of attachment 608161 [details] [diff] [review]:
-----------------------------------------------------------------
That's what I meant, except with |else| on on a separate line from the |if| closing brace.
Attachment #608161 -
Flags: review?(Sevenspade) → review+
Updated•13 years ago
|
Blocks: DOMi2.0.12
Assignee | ||
Comment 5•13 years ago
|
||
}
else {
Attachment #608161 -
Attachment is obsolete: true
Attachment #608447 -
Flags: review+
Assignee | ||
Comment 6•13 years ago
|
||
Pushed changeset 772494f61v8f to dom-inspector.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•