https://bugzilla.wikimedia.org/show_bug.cgi?id=46757
Web browser: ---
Bug ID: 46757
Summary: Use of @embed in css file prevents any later css
rendering on Nokia N95
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ResourceLoader
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Through Wikipedia Zero I discovered that the mobile skin was not rendering
correctly on Nokia N95 stock browser and various other older mobile browsers.
It seems that the reason this breaks is due to the following line which uses an
embed url
#mw-mf-menu-main li.icon-home a {
background-image: /* @embed */ url(images/menu/home.png);
}
Looking closely in includes/CSSMin.php there is the following line which
introduces an IE hack.
$replacement .= "{$pre}url({$url}){$post}!ie;";
Is this hack still needed? How can this be worked around? I suspect use of a
conditional stylesheet in Internet Explorer to work around this problem would
be better?
(Note in mobile it is fine for the image in the data uri not to render for a
Nokia N95)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l