tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2524) CSS minification breaks keyframes
Date Mon, 07 Mar 2016 11:24:40 GMT

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

Jochen Kemnade commented on TAP5-2524:
--------------------------------------

I guess we should just switch from Yuicompressor to a different CSS minifier, preferably one
that's bundled as a JAR but that does not add tons of classes that we don't need (like Jawr
would). Any suggestions?

> CSS minification breaks keyframes 
> ----------------------------------
>
>                 Key: TAP5-2524
>                 URL: https://issues.apache.org/jira/browse/TAP5-2524
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-webresources
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Jochen Kemnade
>
> {code}
> @keyframes anim {
>     0% { opacity: 0; }
>   100% { opacity: 1; }
> }
> {code}
> is turned into
> {code}
> @keyframes anim{0{opacity:0}100%{opacity:1}}
> {code}
> but that should be
> {code}
> @keyframes anim{0%{opacity:0}100%{opacity:1}}
> {code}
> See https://github.com/yui/yuicompressor/issues/151, https://github.com/yui/yuicompressor/issues/162,
https://github.com/yui/yuicompressor/pull/118, https://github.com/yui/yuicompressor/issues/80
and others.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message