OK.

What about @media for JS?

Would that prevent SWF code from consuming it?

I do think it’s important to allow specifying any valid css in your MXML file 
even if it will not compile to SWF. One of the advantages of FlexJS over 
“normal” js dev is the ability to have self-contained markup, code and css.

> On Feb 27, 2017, at 5:18 PM, Alex Harui <aha...@adobe.com> wrote:
> 
> 
> 
> On 2/27/17, 3:30 AM, "Harbs" <harbs.li...@gmail.com> wrote:
> 
>> I don’t need it for SWF. I just want to be able to include valid css in
>> my app and not have Falcon choke on it.
>> 
>> I’m not sure I understand why this is related to SimpleCSSValuesImpl. The
>> calc() should simply be passed through to the css file.
>> 
>> Unless you are talking about FlexJS doing something fancy with advanced
>> css features...
> 
> If you set the width to 100px, SWF code will respond.  If you set it to
> calc(100% - 12px), SWF code will throw up.
> 
> As a workaround, you have the option of using a custom HTML template and
> bringing the CSS with calc() that way.
> 
> HTH,
> -Alex
> 

Reply via email to