tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hien tran (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-1486) When Tapestry adds CSS and JS files to the page, it should ensure that CSS files are above any JavaScript files
Date Wed, 01 Feb 2012 19:25:01 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198069#comment-13198069
] 

hien tran commented on TAP5-1486:
---------------------------------

JS files can still be added before css.
Please have a look at: http://tapestry.1045711.n5.nabble.com/scripts-in-head-affect-placement-of-imported-scripts-in-tapestry-5-3-td5446328.html


                
> When Tapestry adds CSS and JS files to the page, it should ensure that CSS files are
above any JavaScript files
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1486
>                 URL: https://issues.apache.org/jira/browse/TAP5-1486
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2.5
>            Reporter: Howard M. Lewis Ship
>            Assignee: Fran├žois Facon
>            Priority: Minor
>             Fix For: 5.3
>
>         Attachments: patch Data for DocumentLinkerImplTest.txt, patch DocumentLinkerImpl.txt
>
>
> From the "Audit" tab of Chrome Developer Tools:
> The following external CSS files were included after an external JavaScript file in the
document head. To ensure CSS files are downloaded in parallel, always include external CSS
before external JavaScript
> I think the best order would be:
> Add all CSS files first; add them *before* any <script> tag or, failing that, at
the end of the <head>.
> Add all JavaScript files second; add them *after* any <link> tag or, failing that,
at the end of the <head>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message