Closed
Bug 609602
Opened 14 years ago
Closed 9 years ago
[e10s] User-stylesheets and agent-Stylesheets not rendered in remote tabs
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: droettsches.oss, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12
Build Identifier: Fennec Nightly 4.0b3pre (http://hg.mozilla.org/mozilla-central/rev/f7016571b472)
Fennec does not take into account user-stylesheets or agent-stylesheets that are specified through the userContent.css mechanism, registered into the agent-style-sheet category through a chrome.manifest or programmatically registered with the nsIStyleSheetService.
Reproducible: Always
Steps to Reproduce:
1) Download and unpack fennec nightly
2) Run it once to create profile
3) Edit chrome/userContent.css in .mozilla/fennec/<profile>/ and put something like:
body {
background-color: pink !important;
}
4) Load "remote" pages, i.e. http:// addresses, www.google.com etc.
Actual Results:
Page-specified background color is visible, i.e. white in most cases.
Expected Results:
Pink background for any http:// page
Comment 1•13 years ago
|
||
Dominik Röttsches can you still reproduce this?
Try using latest build: http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/7.0b5-candidates/
Reporter | ||
Comment 2•13 years ago
|
||
Yes, still reproducible with http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/7.0b5-candidates/build1/linux/en-US/fennec-7.0b5.en-US.linux-i686.tar.bz2
Local pages, like the startup "your previous tabs" overview, incorporate the style change. Pink example style not incorporated/rendered for remote pages loaded via http.
Comment 3•13 years ago
|
||
Still an issue on Nightly 2012-02-23 linux i686 - Last linux build.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•13 years ago
|
||
We don't build desktop versions of Firefox mobile any more.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Comment 5•13 years ago
|
||
I don't think this bug is desktop-only.
Status: RESOLVED → REOPENED
OS: Linux → All
Hardware: x86 → All
Resolution: WONTFIX → ---
Comment 6•13 years ago
|
||
This is important for MathML on mobile devices. Quoting Bill Gianopoulos:
'In order to resolve bug 295193, an extension has been developed to package and include the math fonts required for proper display of MathML. This extension does not work on Android XUL builds because of this issue.
It is especially important for this to work on mobile devices which typically do not permit users installing additional fonts without "rooting" the device.'
The extension mentioned is
https://addons.mozilla.org/en-US/firefox/addon/mathml-fonts/
In addition, we plan to display an information bar suggesting users to install it when they visit pages that require mathematical fonts.
Comment 7•13 years ago
|
||
I'm trying to make Stylish work on Fennec and this makes it a non-starter. Stylish uses nsIStylesheetService to register data URI stylesheets. Some findings after experimentation (testing on Fennec 10 on Linux):
-Registering stylesheets works on things like Fennec Start, the preferences page, and an HTML page I include with Stylish, but not on remote pages.
-Registering stylesheets from the content scripts does not apply to remote tabs, but does still apply to chrome.
-Setting browser.tabs.remote = false makes it work everywhere.
Comment 8•13 years ago
|
||
This works perfectly fine in native Fennec.
Updated•11 years ago
|
tracking-e10s:
--- → +
Comment 10•9 years ago
|
||
Userstyles still appear to be broken for e10s (on desktop) and this is kind of a major regression. Is this the wrong bug for that? It's making me lean towards turning e10s back off on my machines.
tracking-e10s:
- → ---
![]() |
||
Comment 11•9 years ago
|
||
This is graveyard fennec and is showing up under e10s desktop triage links. If this is an open issue with the mobile android browser please file a fresh bug under that product.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•