Open
Bug 1513334
Opened 7 years ago
Updated 3 years ago
Convert xul|menulist to html|select
Categories
(Toolkit :: UI Widgets, task, P5)
Toolkit
UI Widgets
Tracking
()
NEW
People
(Reporter: ntim, Unassigned)
References
(Blocks 1 open bug)
Details
Most of the code in the binding aims to imitate the select behaviour.
Some things worth mentioning:
* There's the menulist-popuponly binding that extends menulist, I believe that's only used for the <select> implementation. See bug 1108761. What could be done here is fold menulist and menulist-popuponly into the same binding.
* The menulist element supports the crop attribute, I don't think any of the usages use crop="center" or crop="start", but we never know :)
* The menulist element supports the image attribute to put an icon next to the text, I believe the "Default Search Engine" menulist uses that. I believe the rich-select component that WebPayments is using might be able to solve that use-case, not really sure...
* The menulist element also comes with a few helper methods (appendItem, getItemAtIndex, ...). These can be reimplemented if needed, but I'm not sure if they bring a lot of value...
* The menulist [open] attribute used for styling is more-or-less equivalent to select:focus (although select:focus applies in more cases)
tldr; simple usages of menulist could be converted to select, others will require more work.
Updated•7 years ago
|
Priority: -- → P5
Reporter | ||
Updated•6 years ago
|
Type: enhancement → task
Reporter | ||
Updated•6 years ago
|
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•