You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Christopher Heriot <ch...@gmail.com> on 2008/06/24 22:13:22 UTC

T5 Altering IE's Conditional Comments... bug or feature?

Using IE's conditional comments such as results in spaces inserted on
the inside of the html comments. I've been working around this with a
component that wraps its body in the appropriate condition using
MarkupWriter.writeRaw, but that seems like a hack. Is this intended
behavior that provides a benefit I'm not seeing or a bug I should
report?

A previous thread
(http://www.nabble.com/T5%3A-IE-conditional-not-working-under-template-td17094267.html#a17098807)
mentions this having been reported in Jira and closed, but I've been
unable to find the issue.

For example, a template containing this:
<!--[if IE 7]>--><style media="screen" type="text/css">@import
'css/ie7.css';</style><!--<![endif]-->
results in the client seeing
<!-- [if IE 7]> --><style media="screen" type="text/css">@import
'css/ie7.css';</style><!-- <![endif] -->

Chris Heriot

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org