You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/03/24 19:45:41 UTC

[GitHub] carlosrovira opened a new issue #34: content: url fails to compile

carlosrovira opened a new issue #34: content: url fails to compile
URL: https://github.com/apache/royale-compiler/issues/34
 
 
   Hi,
   
   while
   
   `content: "Hello";`
   
   is compiled right, this other:
   
   `content: url(assets/checkbox-tick.svg);`
   
   Fails with the following error:
   
   Internal error: java.lang.ClassCastException: org.apache.royale.compiler.internal.css.CSSURLAndFormatPropertyValue cannot be cast to org.apache.royale.compiler.internal.css.CSSStringPropertyValue org.apache.royale.compiler.internal.css.CSSProperty.toCSSString(CSSProperty.java:77)
   
   I'll try to do this in other way, but for now it seems the best way to create the tick in a checkbox via svg. Tested modifying the CSS live on the browser works great. Hope you could fix this
   
   Thanks
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services