Closed Bug 1473521 Opened 6 years ago Closed 6 years ago

Load "richlistbox.css" as a document stylesheet

Categories

(Toolkit :: Themes, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: Paolo, Assigned: Paolo)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

This is part of the work tracked in bug 1470830. In bug 1472750, some richlistboxes that were formerly listboxes will be styled with platform styles. With "richlistbox.css" being a document stylesheet, it can now be used for styling non-anonymous children, such as the inner label created by the "appendItem" helper, leading to immediate simplification.
Assignee: nobody → paolo.mozmail
Status: NEW → ASSIGNED
Priority: P3 → P1
Comment on attachment 8989945 [details] Bug 1473521 - Load "richlistbox.css" as a document stylesheet. https://reviewboard.mozilla.org/r/254954/#review262000
Attachment #8989945 - Flags: review?(bgrinstead) → review+
Pushed by paolo.mozmail@amadzone.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/ba0ea459e222 Load "richlistbox.css" as a document stylesheet. r=bgrins
Depends on: 1473832
Flags: needinfo?(paolo.mozmail)
The CSS simplifications I did some time ago for the Downloads Panel and the Downloads View made this change smaller. Note that there are two differently named lists, #downloadsRichListBox and #downloadsListBox, that are now used to select the right styling. This is slightly better than using the historical difference between class="download" and type="download", even though I kept the distinction for the rules controlling the XBL binding. In the future, we can improve the situation further and merge some styles, but I think the next step here is bug 1452629.
Comment on attachment 8989945 [details] Bug 1473521 - Load "richlistbox.css" as a document stylesheet. Redirecting review to Brian since Marco may be away, and I'd like to land this sooner.
Attachment #8989945 - Flags: review?(mak77) → review?(bgrinstead)
Attachment #8989945 - Flags: review?(bgrinstead)
Comment on attachment 8989945 [details] Bug 1473521 - Load "richlistbox.css" as a document stylesheet. https://reviewboard.mozilla.org/r/254954/#review262292
Attachment #8989945 - Flags: review?(bgrinstead) → review+
Pushed by paolo.mozmail@amadzone.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/ff6e06d0d393 Load "richlistbox.css" as a document stylesheet. r=bgrins
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Depends on: 1474193
Regressions: 1686694
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: