[
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.