Way to force reload of userContent.css at run time
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: david.hagood, Unassigned)
References
Details
Attachments
(3 files)
1.07 KB,
patch
|
Details | Diff | Splinter Review | |
1.17 KB,
application/octet-stream
|
Details | |
24.55 KB,
image/png
|
Details |
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
Comment 4•21 years ago
|
||
Comment 5•21 years ago
|
||
Comment 6•21 years ago
|
||
Comment 7•19 years ago
|
||
Comment 8•19 years ago
|
||
Comment 10•19 years ago
|
||
Comment 11•19 years ago
|
||
Comment 12•15 years ago
|
||
Comment 13•15 years ago
|
||
Comment 14•15 years ago
|
||
Comment 16•13 years ago
|
||
Comment 17•12 years ago
|
||
Comment 18•12 years ago
|
||
Comment 19•12 years ago
|
||
Comment 20•12 years ago
|
||
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment 25•11 years ago
|
||
Comment 26•10 years ago
|
||
Comment 27•10 years ago
|
||
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Comment 35•7 years ago
|
||
Comment 36•7 years ago
|
||
Comment 37•7 years ago
|
||
Comment 38•6 years ago
|
||
(In reply to Gingerbread Man from comment #33)
Opening a new tab or window does reflect changes in userContent.css now.
This is true only if (and because of) multiprocess Firefox is enabled (i. e. browser.tabs.remote.autostart
is set to true
), which have its own downsides, including userContent.css-related [1]. Singleprocess Firefox is still subject to this bug.
I believe, it is worth reopening.
Comment 39•6 years ago
|
||
(In reply to Dmitry Alexandrov from comment #38)
As far as I know, browser.tabs.remote.autostart = false isn't a supported configuration, so I'm not going to reopen this based on that.
Comment 40•6 years ago
|
||
(In reply to Gingerbread Man from comment #39)
As far as I know, browser.tabs.remote.autostart = false isn't a supported configuration, so I'm not going to reopen this based on that.
Well, is ‘dom.ipc.processCount’ a “supported configuration” then? When set to 1 the effect is the same.
(And sorry for off-topic, but does it mean, that single-process mode will be disabled entirely after a while? Where can I get more info on this?)
Comment 41•6 years ago
|
||
(In reply to Gingerbread Man from comment #37)
For even better results, forget about external editors.
- Press F12 to bring up the developer toolbar.
- Click the Style Editor tab.
- Above the file list on the left, click the upward-pointing arrow icon to
import a stylesheet. Select your userContent.css file.- In the file list on the left, click "New style sheet #…".
- In the pane on the right, make your changes. They'll take effect
immediately. Also, the filename in the list should at that point change to
userContent.css
Does this editor really support editing user stylesheets? That would be indeed very nice. But the steps you described result in applying userContent.css as an author stylesheet, which makes it absolutely unsuitable for previewing if your userstyle is in the least bit non-trivial.
Comment 42•6 years ago
|
||
(In reply to Dmitry Alexandrov from comment #40)
Well, is ‘dom.ipc.processCount’ a “supported configuration” then? When set to 1 the effect is the same.
Yes, that's the same as unchecking "Use recommended performance settings" in about:preferences#general then selecting a custom content process limit. With the limit set to 1, I can reproduce the issue with an external editor, while comment 37 still works. Since it works with the default settings, please file a new bug report.
(And sorry for off-topic, but does it mean, that single-process mode will be disabled entirely after a while? Where can I get more info on this?)
I don't know.
(In reply to Dmitry Alexandrov from comment #41)
Does this editor really support editing user stylesheets? That would be indeed very nice. But the steps you described result in applying userContent.css as an author stylesheet, which makes it absolutely unsuitable for previewing if your userstyle is in the least bit non-trivial.
I don't know what you mean by this without an example. To test, in one tab I appended userContent.css, added the rule * { background: red !important; }
and saved. I then opened a different site in another tab, and it was applied there as well.
Description
•