[
https://issues.apache.org/jira/browse/WICKET-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonas Pohlandt updated WICKET-4894:
-----------------------------------
Attachment: quickstart.zip
Quickstart
> Internet Explorer fails fails to properly include conditional stylesheet
> links added via AjaxRequestTarget
> ----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4894
> URL: https://issues.apache.org/jira/browse/WICKET-4894
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.4
> Reporter: Jonas Pohlandt
> Attachments: quickstart.zip
>
>
> CSS references added like this
> @Override
> public void renderHead( IHeaderResponse response ) {
> super.renderHead( response );
> response.renderCSSReference(
> new PackageResourceReference( getClass(), "TestLabel.css" ));
> response.renderCSSReference(
> new PackageResourceReference( getClass(), "TestLabel-conditional.css"
> ), null, null, "gte IE 8" );
> }
> will not be taken into account by Internet Explorer (tested with 8 and 9) at
> when rendering the document.
> I stepped though wicket-ajax.js and saw that the function added in
> Wicket.Head.Contributor.processComment will actually be executed and a new
> child node will be appended to the head node of the document. Unfortunately
> it seems IE disregards conditional comments added in this way.
> I encountered this using Wicket 1.5.4.
> I'll upload a quickstart.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira