[ 
https://issues.apache.org/jira/browse/TAPESTRY-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594623#action_12594623
 ] 

Massimo Lusetti commented on TAPESTRY-2351:
-------------------------------------------

You are right that the issue request is not the solution to the actual problem 
for this particular case but as you have pointed out:
http://markmail.org/message/e4c5hvzp6xliejvf?q=list:org.apache.tapestry.users+T5:+CSS+Injection+and+IE+Conditional+Comments+

Expansion inside comments are doable and i add useful someway.

Would you mind rethink on the subject?

> Expansions ${...} does not work inside html comments.
> -----------------------------------------------------
>
>                 Key: TAPESTRY-2351
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2351
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.11
>            Reporter: Igor E. Poteryaev
>            Assignee: Howard M. Lewis Ship
>
> There is use case for variable expansions to work for inside html comments.
> Internet Explorer "Conditional comments" described here:
> http://msdn2.microsoft.com/en-us/library/ms537512(VS.85).aspx
> We want to this snippet to isolate all IE css quirks/hacks in IE-only files:
> <head>
> <title>${customerTitle}</title>
> <link href="${mediaUrl}/css/common.css" rel="stylesheet" type="text/css" />
> <!--[if lte IE 7]><link href="${mediaUrl}/css/ie.css" rel="stylesheet" 
> type="text/css" /><![endif]-->
> <!--[if lte IE 6]><link href="${mediaUrl}/css/ie6.css" rel="stylesheet" 
> type="text/css" /><![endif]-->
> </head>
> mediaUrl variable is correctly expanded for the first <link>, but not for 
> <link>s inside html comments.
> It is important for us to can use IE  "Conditional comments".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to