Closed
Bug 1234188
Opened 9 years ago
Closed 9 years ago
chrome/userContent.css have no effect in Firefox 44.0
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1046166
People
(Reporter: gavenkoa, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0a2 Build ID: 20151204004006 Steps to reproduce: I use chrome/userContent.css for styling visited links as describer in https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector It works for Firefox 42.0, 43.0. Firefox 44.0 and 45.0 doesn't apply any userContent.css styles at all. I check if it still touches that file, ant it still is: bash# inotifywait -m -r chrome/ Setting up watches. Beware: since -r was given, this may take a while! Watches established. chrome/ OPEN userContent.css chrome/ ACCESS userContent.css chrome/ CLOSE_NOWRITE,CLOSE userContent.css My styles during issue investigation are: :link { outline: 1px dotted !important; outline-color: blue !important; } :visited { outline-color: orange !important; } *, a, div { margin: 100px !important; color: green !important; } Is there official statement about userContent.css deprecation?
I grab Firefox versions from http://mozilla.debian.net/dists/
Comment 2•9 years ago
|
||
(In reply to gavenkoa from comment #1) > I grab Firefox versions from http://mozilla.debian.net/dists/ Please test the version(s) from mozilla.org. https://www.mozilla.org/firefox/all/ https://www.mozilla.org/firefox/beta/all/ https://www.mozilla.org/firefox/developer/all/ https://nightly.mozilla.org ――――― Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 20151217102820 Works for me. Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 20151221004011 Works for me, provided that e10s is disabled. Otherwise, that's bug 1046166.
Component: Untriaged → CSS Parsing and Computation
Flags: needinfo?(gavenkoa)
Product: Firefox → Core
$ wget https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-46.0a1.en-US.linux-x86_64.tar.bz2 $ tar jxf firefox-46.0a1.en-US.linux-x86_64.tar.bz2 -C ~/tmp $ mkdir -p ~/tmp/home/.mozilla/firefox/devel/chrome/ $ cp ~/.mozilla/firefox/devel/chrome/userContent.css ~/tmp/home/.mozilla/firefox/devel/chrome/userContent.css $ cp ~/.mozilla/firefox/profiles.ini ~/tmp/home/.mozilla/firefox/profiles.ini $ cat ~/tmp/home/.mozilla/firefox/devel/chrome/userContent.css :link { outline: 1px dotted !important; outline-color: blue !important; } :visited { outline-color: orange !important; } *, a, div { margin: 100px !important; color: green !important; } $ cat ~/tmp/home/.mozilla/firefox/profiles.ini [General] StartWithLastProfile=1 [Profile0] Name=devel IsRelative=1 Path=devel $ sudo -u nobody HOME=~/tmp/home ~/tmp/firefox/firefox After that Firefox read userContent.css: $ inotifywait -m -r ~/tmp/home/.mozilla/firefox/devel/chrome/ Setting up watches. Beware: since -r was given, this may take a while! Watches established. /home/user/tmp/home/.mozilla/firefox/devel/chrome/ OPEN userContent.css /home/user/tmp/home/.mozilla/firefox/devel/chrome/ ACCESS userContent.css /home/user/tmp/home/.mozilla/firefox/devel/chrome/ CLOSE_NOWRITE,CLOSE userContent.css but doesn't apply any styles! Firefox v 46.0a1 (2015-12-21).
Flags: needinfo?(gavenkoa)
Comment 4•9 years ago
|
||
(In reply to gavenkoa from comment #3) > but doesn't apply any styles! > > Firefox v 46.0a1 (2015-12-21). Like I said, bug 1046166 affects Firefox Developer Edition and Nightly. It will only work if you've unchecked “Enable multi-process” under Options / Preferences → General and restarted when prompted.
With disabled "multi-process” under Options / Preferences → General I see impact of userContent.css on page styles. Remain option disabled as workaround.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•