Add Support for Internet Explorer's Conditional Comments
--------------------------------------------------------
Key: JBPORTAL-1498
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1498
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal Theme
Affects Versions: 2.6.CR1
Environment: All
Reporter: Andy Pemberton
Assigned To: Julien Viet
Currently, JBoss Portal's theme and layout architecture relies on XML deployment
descriptors for several objects. For example, the portal-theme.xml is used to create
themes (javascript and css) that will be applied to layouts.
The request I have is this: given the XML deployment descriptors, add in support for
Internet Explorer's Conditional Comment system.
Conditional Comments have been a feature of IE since IE5. Basically, Conditional Comments
are specially formatted HTML comments that allow web developers to target specific markup
to Internet Explorer. Typically, Conditional Comments are used to import specific
Cascading Style Sheets (CSS) to HTML pages to handle IE-specific CSS defects.
Currently, the lack of support for Conditional Comments is caused by the fact that
Conditional Comments rely on XHTML-based comments, which are thus filtered out at the
portal-theme.xml level. I considered adding this request as a defect, but decided against
it as not reading in comments in an XML deployment descriptor is quite logical, and of
course - IE's conditional comment system (though useful) is counter-intuitive.
Reference:
-
http://msdn2.microsoft.com/en-us/library/ms537512.aspx
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira