Closed
Bug 377678
Opened 17 years ago
Closed 17 years ago
toolbar.xml cleanup
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: enndeakin, Assigned: enndeakin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
6.50 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
- toolbarspacer and toolbarspring should have XULToolbarSeparator accessibility objects - currentSet setter doesn't return a value - insertItem doesn't work with no surrounding toolbox
Assignee | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
confirmed with aaronlev that only Toolbar should use nsIAccessibleProvider.XULToolbar and that the three spacing types should use nsIAccessibleProvider.XULToolbarSeparator.
Attachment #261874 -
Attachment is obsolete: true
Attachment #261956 -
Flags: first-review?(neil)
Comment 3•17 years ago
|
||
Comment on attachment 261956 [details] [diff] [review] also fix up accessibility references >+ if (this.localName == "toolbarseparator" || >+ this.localName == "toolbarspacer" || >+ this.localName == "toolbarspring") > return Components.interfaces.nsIAccessibleProvider.XULToolbarSeparator; > else > return Components.interfaces.nsIAccessibleProvider.XULToolbar; Wouldn't it be better to override this in the toolbar binding? (The menubar binding already does, for instance.) > if (val == "__empty") >- return; >+ return val; > > if (val) { if (val && val != "__empty") perhaps? (That __empty setting smells like a cheap hack!)
Attachment #261956 -
Flags: first-review?(neil) → first-review+
Assignee | ||
Comment 4•17 years ago
|
||
Attachment #261956 -
Attachment is obsolete: true
Attachment #262010 -
Flags: review?(neil)
Comment 5•17 years ago
|
||
Comment on attachment 262010 [details] [diff] [review] more like this >- <implementation implements="nsIAccessibleProvider"> > <implementation> >+ <property name="accessibleType" readonly="true"> r=me with this fixed as mentioned on IRC.
Attachment #262010 -
Flags: review?(neil) → review+
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•