Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 16:36 UTC
Updated:
9 Apr 2015 at 18:09 UTC
Jump to comment: Most recent
Comments
Comment #1
quicksketchI've confirmed this problem in both 7.4 and the latest 8.x code. We'll need to fix this in D8 first and include the backport in Drupal 7.
I'm suspecting that this problem is because the conditional stylesheet "fix" we have doesn't play nicely with Opera, which isn't surprising considering the huge mass of comment hacks in here. Here's the code output when combining conditional IE stylesheets with inline CSS:
Somewhere in there Opera looses track of what's an HTML comment and what is not, resulting in the content being displayed to the end-user.
Of course a simple work-around is just to not use inline styles with conditional styles. Even when using inline styles, this appears to only affect Opera currently (I confirmed both Opera 11.05 and 11.5 have this problem).
Comment #2
sonnenmann commented+1 same problem here
Comment #3
dom. commentedBoth drupal_add_css and hook_init have been remove. Please update if necessary, otherwise considered as deprecated.
#2168113: Add leading underscore and other discouragement to drupal_add_css() and drupal_add_js()
#1911728: Remove hook_init()