[ https://issues.apache.org/jira/browse/FLEX-35346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109714#comment-16109714 ]
Greg Dove commented on FLEX-35346: ---------------------------------- " my workaround for all these kinds of issues is including a separate CSS file". So far I have managed to avoid doing that completely, but I have used the transform 'string' approach above. calc seems to work fine for me in the external css file at least. There may be some differences in the style parsing or treatment inside mxml vs. external css files. I have not had time to look into this yet, but so far have found the above workaround is good for now in external css files. So far I only saw a need to use it for transform. > Unable to parse CSS class > ------------------------- > > Key: FLEX-35346 > URL: https://issues.apache.org/jira/browse/FLEX-35346 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Affects Versions: Apache FalconJX 0.8.0 > Reporter: Harbs > > The following css inside a fx:Style block does not compile. I believe the > class name is causing the problem. > {noformat} > .mdl-slider__background-flex { > position: absolute; > height: 2px; > width: calc(100% - 22px); > top: 50%; > left: 0; > margin: 0 26px; > overflow: hidden; > border: 0; > padding: 0; > -webkit-transform: translate(0,-1px); > transform: translate(0,-1px) > } > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)