You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2023/06/24 11:40:00 UTC

[jira] [Assigned] (TAP5-2600) CSS minification breaks transition statement

     [ https://issues.apache.org/jira/browse/TAP5-2600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Weidig reassigned TAP5-2600:
--------------------------------

    Assignee: Ben Weidig

> CSS minification breaks transition statement
> --------------------------------------------
>
>                 Key: TAP5-2600
>                 URL: https://issues.apache.org/jira/browse/TAP5-2600
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-webresources
>    Affects Versions: 5.4.3
>            Reporter: Svein
>            Assignee: Ben Weidig
>            Priority: Major
>
> {code:java}
> transition: all 500ms ease 0s;
> {code}
> is turned into
>  
> {code:java}
> transition: all 500ms ease 0;
> {code}
> This does work in Chrome, Firefox...
>  
>  
> I think "transition:" need to be excluded in:
> CssCompressor:328
>  
> {code:java}
> css = css.replaceAll("(?i)(^|[^0-9])(?:0?\\.)?0(?:px|em|in|cm|mm|pc|pt|ex|deg|g?rad|m?s|k?hz)", "$10");
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)