Skip to content

content: url fails to compile #34

Closed
@carlosrovira

Description

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions