Closed
Bug 639397
Opened 13 years ago
Closed 13 years ago
There should be an API to add browser CSS
Categories
(Add-on SDK Graveyard :: General, enhancement, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 644612
Future
People
(Reporter: original.roju, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12) Gecko/20100101 Firefox/4.0b12 Build Identifier: If the addon wants to modify browser chrome styling, there should be an API to load CSS into the browser process. For instance, an addon could change the background color of bookmark bar entries with "*" in their label, to give the user an easy way to make certain entries stand out with a highlight. Reproducible: Always Steps to Reproduce: 1. Try to load CSS Actual Results: You can't Expected Results: Something like: require("css").load(require("self").data.url("my-styles.css"));
Comment 1•13 years ago
|
||
I've proposed a new "chrome-mod" API in bug 644612. That can propose such feature.
Comment 2•13 years ago
|
||
This might make sense as part of a mid-level API toolkit (unlike the high-level addon-kit and the low-level api-utils) for the 20% of developers who aren't satisfied by the high-level library.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → Future
Updated•13 years ago
|
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•