yishayw commented on issue #835:
URL: https://github.com/apache/royale-asjs/issues/835#issuecomment-629596584


   ```
   <?xml version="1.0" encoding="utf-8"?>
   <mx:Application xmlns:mx="library://ns.apache.org/royale/mx" 
xmlns:fx="http://ns.adobe.com/mxml/2009";>
        <fx:Script>
                <![CDATA[
                        private function init():void
                        {
                                COMPILE::JS
                                {
                                        trace('computed font size: ' + 
getComputedStyle(document.getElementsByClassName("Label")[0]).fontSize);
                                }
                        }
                ]]>
        </fx:Script>
        <mx:Label text="Hello from main" creationComplete="init()"/>
   </mx:Application>
   ```
   
   Yes, for IE the result is 16px, for Chrome it's 12px.
   
   Not a nested problem as I'd thought.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to