You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/04/17 19:11:15 UTC
[jira] Commented: (TAP5-648) Tapestry ignores the order in which
user gives the META tags
[ https://issues.apache.org/jira/browse/TAP5-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700247#action_12700247 ]
Howard M. Lewis Ship commented on TAP5-648:
-------------------------------------------
We can be more careful about where the elements go.
<script> elements should go before the first <script> element already in the <head>,
Likewise for <link> tags (for CSS).
<meta> tags can go last, so as not to interfere with the <meta> tags you are talking about.
> Tapestry ignores the order in which user gives the META tags
> ------------------------------------------------------------
>
> Key: TAP5-648
> URL: https://issues.apache.org/jira/browse/TAP5-648
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.1.0.3
> Reporter: Ville Virtanen
>
> As Microsoft documentation states (http://msdn.microsoft.com/en-us/library/cc817574.aspx) the META tags that direct IE8 must be positioned as follows: "The X-UA-compatible header is not case sensitive; however, it must appear in the Web page's header (the HEAD section) before all other elements, except for the TITLE element and other META elements.".
> The most flexible solution would be to honor the order of META and other tags that author has put directly to the template: the place for T5 tags could be indicated with special tag:
> For an example
> <html>
> <head>
> <title>My Web Page</title>
> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
> <t:headcontent />
> <link href="dirlang.html" rel="next"/>
> </head>
> .
> .
> If author decides to omit the t:headcontent tag then T5 would not attach any meta or link tags.
> Other solution as Howard indicated in the mailing list would be to just add the T5 specific stuff to the end of the head section.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.