You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ganesh Jung (JIRA)" <de...@myfaces.apache.org> on 2010/03/09 18:19:27 UTC
[jira] Created: (MYFACES-2593) styles are escaped so that @import
*.css doesn't work
styles are escaped so that @import *.css doesn't work
-----------------------------------------------------
Key: MYFACES-2593
URL: https://issues.apache.org/jira/browse/MYFACES-2593
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-beta-2
Environment: CSS
Reporter: Ganesh Jung
This one doesn't pull the script with MyFaces 2.0:
<style type="text/css">
@import "test.css"
</style>
No problem with Mojarra here.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MYFACES-2593) styles are escaped so that @import
*.css doesn't work
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr resolved MYFACES-2593.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-3
> styles are escaped so that @import *.css doesn't work
> -----------------------------------------------------
>
> Key: MYFACES-2593
> URL: https://issues.apache.org/jira/browse/MYFACES-2593
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-beta-2
> Environment: CSS
> Reporter: Ganesh Jung
> Assignee: Jakob Korherr
> Fix For: 2.0.0-beta-3
>
>
> This one doesn't pull the script with MyFaces 2.0:
> <style type="text/css">
> @import "test.css"
> </style>
> No problem with Mojarra here.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2593) styles are escaped so that @import
*.css doesn't work
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843277#action_12843277 ]
Jakob Korherr commented on MYFACES-2593:
----------------------------------------
After some debugging I found out that <style> gets escaped in the HtmlResponseWriterImpl.
Unfortunately I can't imagine why this was done. I've never heard before that the content of <style> should be escaped. Furthermore the content of <script> is only escaped for old browsers. Maybe this was also the reason to put this in for <style>, but this is a blocker for some new CSS features (like @import) and thus I think we have to drop it for <style>.
> styles are escaped so that @import *.css doesn't work
> -----------------------------------------------------
>
> Key: MYFACES-2593
> URL: https://issues.apache.org/jira/browse/MYFACES-2593
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-beta-2
> Environment: CSS
> Reporter: Ganesh Jung
> Assignee: Jakob Korherr
>
> This one doesn't pull the script with MyFaces 2.0:
> <style type="text/css">
> @import "test.css"
> </style>
> No problem with Mojarra here.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.