Closed Bug 1820280 Opened 1 year ago Closed 1 year ago

Expose scrollbar-inline-size to Thunderbird's privileged about pages

Categories

(Core :: Layout: Scrolling and Overflow, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: aleca, Assigned: emilio)

References

Details

Attachments

(4 files)

With bug 1812868, a new env(scrollbar-inline-size) was introduced which allows using the size of the overlay scrollbar as CSS value.
Unfortunately this variable is only exposed to chrome documents.
It would be very helpful to be able to use it inside Thunderbird's content documents, like about3Pane or aboutAddressBook, to add needed padding to our new TreeView widget.

Opening this RFE and pinging Emilio per this conversation.

Flags: needinfo?(emilio)
Blocks: 1820262
Assignee: nobody → emilio
Status: NEW → ASSIGNED

For now a static list of URIs is probably fine. I asked Nika / Gijs if
we can do something better in any case.

We already have tests for stuff not getting exposed to content.

Depends on D171640

Drive-by, but nsIPrincipal is thread-safe now.

Depends on D171641

Flags: needinfo?(emilio)
Summary: Expose scrollbar-inline-size to content documents → Expose scrollbar-inline-size to Thunderbird's privileged about pages

I believe these are the only two special-cases.

Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f8d2da589860
Be consistent for which URIs we expose chrome rules. r=dshin
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88a386b2c591
Don't proxy some principal destruction to the main thread. r=dshin
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cbe07218f8a2
Enable chrome rules in Thunderbird's about:3pane. r=aleca,dholbert
Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/26f20f08170e
Expose chrome CSS to about: pages except srcdoc/blank. r=necko-reviewers,valentin,smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: