aharui commented on issue #25: [CSS] rgba is not valid in text-shadow
URL: https://github.com/apache/royale-compiler/issues/25#issuecomment-370854316
 
 
   This looks like it is Google Closure Compiler complaining about the text 
"unexpected value type:".  I think that text should not be in App.js.  That 
line should just read:
   
   this["textShadow"] = [0.0, -1.0, 0.0, rgba(0,0,0,0.70)];
   
   Or maybe leave it as a string to be handled by the framework at runtime:
   
   this["textShadow"] = [0.0, -1.0, 0.0, "rgba(0,0,0,0.70)"];
   
   Or the output should be something like:
   
   this["textShadow"] = [0.0, -1.0, 0.0, 0xC0000000];
   
   Because the compiler knows to convert rgba into hexadecimal with alpha in 
the higher bits.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to