Thanks for the reminder. I will take a look soon. -Alex
On 5/17/16, 12:14 AM, "OK" <okrue...@edscha.com> wrote: >Hi, >this is a new thread for an issue that I've started in the users list: > >Was: "[FlexJS] How to create a <div> with a shadow style" >http://apache-flex-users.2333346.n4.nabble.com/FlexJS-How-to-create-a-lt-d >iv-gt-with-a-shadow-style-td12682.html > >The problem is that the compiler adds commas as separators between the >style >values wich is not allowed for all style properties: > >MXML code: >box-shadow: 5px 5px 5px #888; > >Transpiled code (Doesn't work cause of the commas): >box-shadow : 5px, 5px, 5px, #888; > >JIRA: >https://issues.apache.org/jira/browse/FLEX-35091?jql=project%20%3D%20FLEX > >I've just take a look at the asjs source code but it's hard for me to find >out how it works. >Does anybody know how this could be fixed? >For me it seems that the compiler has to distinguish between 'comma >separated style values' and 'whitespace separated style values', depending >on the style property. >Is this the way the compiler already works or add it always commas as >seperators? > >Maybe this has something to do with the issue? >https://github.com/apache/flex-asjs/blob/5980d00d732dcf9d74e76a14ab4f6f18c >2541d69/frameworks/projects/Core/src/main/flex/org/apache/flex/core/Simple >ValuesImpl.as#L162 > >Thanks, >Olaf > > > > > > >-- >View this message in context: >http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Styles-Compile >r-wrongly-adds-commas-as-separators-between-values-tp53094.html >Sent from the Apache Flex Development mailing list archive at Nabble.com.