Closed
Bug 1320876
Opened 8 years ago
Closed 8 years ago
implement split button for webextension
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1253419
People
(Reporter: tobias.mueller, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36 Vivaldi/1.5.658.44
Steps to reproduce:
I wanted to implement a split button (comparable to the bookmark button in Firefox) with the webextension api
Actual results:
I couldn't figure out how to implement a split button using the webextension api
Expected results:
It should be possible to declare a split button using the webextension api
Reporter | ||
Updated•8 years ago
|
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Comment 2•8 years ago
|
||
Kris, you’re right that the bookmark button is actually a menu-button, but what the poster meant is probably something like the zotero addon uses:
<toolbaritem class="toolbaritem-combined-buttons">
<toolbarbutton class="toolbarbutton-1 toolbarbutton-combined"/>
<toolbarbutton class="toolbarbutton-1 toolbarbutton-combined"/>
</toolbaritem>
Comment 3•8 years ago
|
||
Well, if that is what they meant, it probably won't be implemented. At least, not in the near future.
Comment 4•7 years ago
|
||
What about a way of putting an iframe inside the button so that arbitrary content could be added? I am thinking like you could put to <button> elements inside to do what is mentioned above, or also <input type="search"> to make your own search box. I know it is more then was originally asked for, but it would be a solution.
I have been messing with buttonAction on another bug trying to implement a new feature. If there is interest in this idea I could attempt it when I next have a free day and post a patch.
Comment 5•7 years ago
|
||
(In reply to Michael Buckley from comment #4)
> What about a way of putting an iframe inside the button so that arbitrary
> content could be added?
No, we've done that in the past, and the results are not good.
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•