Closed
Bug 1472750
Opened 7 years ago
Closed 7 years ago
Convert simple "listbox" instances to "richlistbox"
Categories
(Firefox :: General, defect, P1)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: Paolo, Assigned: Paolo)
References
Details
Attachments
(1 file)
This covers the simple cases from bug 1472554.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
Is it always the case that 1 row = 20px, or does this change the height in some cases?
Assignee | ||
Comment 3•7 years ago
|
||
No, the lists are generally slightly taller than before. The exact item height generally depends on the font size, which can change a bit between platforms.
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8989220 [details]
Bug 1472750 - Convert simple "listbox" instances to "richlistbox".
I've actually realized that there are additional focus-related styles applied to "listitem" but not "richlistitem". I'm thinking of adding an attribute like styling="listbox" on the "richlistbox" elements I'm converting here.
Attachment #8989220 -
Flags: review?(bgrinstead)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
I've ported the fancy selection styling from "listbox" mainly for the benefit of the "Edit This Bookmark" panel in bug 1472748. The richlistboxes updated here are secondary or rarely used UI, so the basic style might have worked as well, but I've included it here so all the lists appear exactly as before.
I've not ported one or two styles for disabled items because they are unused.
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8989220 [details]
Bug 1472750 - Convert simple "listbox" instances to "richlistbox".
https://reviewboard.mozilla.org/r/254264/#review262386
::: browser/components/preferences/siteDataRemoveSelected.xul:48
(Diff revision 2)
> - <separator />
> + <separator/>
>
> - <vbox flex="1">
> - <label data-l10n-id="site-data-removing-table"/>
> + <label data-l10n-id="site-data-removing-table"/>
> - <separator class="thin"/>
> + <separator class="thin"/>
> - <listbox id="removalList"/>
> + <richlistbox id="removalList" styled="true" flex="1"/>
`[styled=true]` isn't very descriptive of what's happening here. I'd suggest (1) using a class instead of an attribute since this is only used for styling purposes and (2) renaming it to something that more explains what's going on - maybe `.listbox`, or `.theme-listbox`, or something?
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8989220 [details]
Bug 1472750 - Convert simple "listbox" instances to "richlistbox".
https://reviewboard.mozilla.org/r/254264/#review262650
Attachment #8989220 -
Flags: review?(bgrinstead) → review+
Comment 12•7 years ago
|
||
Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0b45728b7210
Convert simple "listbox" instances to "richlistbox". r=bgrins
Comment 13•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•