Closed
Bug 367806
Opened 18 years ago
Closed 15 years ago
Remove blur code in tabbrowser.xml
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Unassigned)
References
Details
Attachments
(2 files)
3.47 KB,
patch
|
Details | Diff | Splinter Review | |
408 bytes,
text/html
|
Details |
I had an irc chat with Aaron on this. Basically he agreed that we should try to
remove this code, but he suggested to me that I should file a new bug on that,
and put the accompanying patch for the removal in there.
If it comes out that something breaks, then the code should be put back in, but then at least it is known in what situation this code was necessary.
This is the new bug, a follow-up on bug 363934.
Reporter | ||
Comment 1•17 years ago
|
||
Sorry, I let this one slip, and in the meanwhile some other code was added (by bug 323805).
But it still should be possible to safely remove this.
Attachment #275267 -
Flags: review?(gavin.sharp)
Reporter | ||
Updated•17 years ago
|
Attachment #275267 -
Flags: review?(neil)
Comment 2•17 years ago
|
||
(In reply to comment #0)
>If it comes out that something breaks, then the code should be put back in, but
>then at least it is known in what situation this code was necessary.
Steps to reproduce problem:
1. Load a page with a link in it, and tab to that link
2. Press Ctrl+T
3. Press Tab (to focus the tab itself)
4. Press Up
Note that although the tab actually has focus, the link still appears outlined.
Also at this point try pressing Tab a few times ;-)
Comment 3•17 years ago
|
||
Comment on attachment 275267 [details] [diff] [review]
patch
By the way suite's tabbrowser.xml now lives in mozilla/suite/browser
Attachment #275267 -
Flags: review?(neil)
Reporter | ||
Updated•17 years ago
|
Attachment #275267 -
Flags: review?(gavin.sharp)
Reporter | ||
Comment 4•17 years ago
|
||
Thanks Neil.
So apparently that code in tabbrowser.xml is used to work around a deeper bug in Mozilla where window.focus() doesn't unpaint the outline of the previously focused node (and blur get fired 2 times for some odd reason).
Comment 5•15 years ago
|
||
Is this bug still relevant?
Reporter | ||
Comment 6•15 years ago
|
||
I guess not, the relevant code doesn't seem to be there, after a quick glanse.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•