This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch bug/#35
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit f26d3370711a8a2f9e08ae738879117335107bcf
Author: Carlos Rovira <carlosrov...@apache.org>
AuthorDate: Sun Mar 25 23:22:49 2018 +0200

    I think this solves the problem that generates the error at runtime. But 
runtime not works. Still don't know how is procesed the array at runtime
    I think this should be audit by Alex to see if it's ok, and provide some 
guidance with SimpleCSSValuesImpl
---
 .../royale/compiler/internal/css/CSSURLAndFormatPropertyValue.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/internal/css/CSSURLAndFormatPropertyValue.java
 
b/compiler/src/main/java/org/apache/royale/compiler/internal/css/CSSURLAndFormatPropertyValue.java
index 1543d13..96cf0d3 100644
--- 
a/compiler/src/main/java/org/apache/royale/compiler/internal/css/CSSURLAndFormatPropertyValue.java
+++ 
b/compiler/src/main/java/org/apache/royale/compiler/internal/css/CSSURLAndFormatPropertyValue.java
@@ -57,6 +57,10 @@ public class CSSURLAndFormatPropertyValue extends 
CSSFunctionCallPropertyValue
     @Override
     public String toString()
     {
+        if(super.toString().contains("data:"))
+        {
+            return super.toString().replace("(\"", "(").replace("\")", ")");
+        }
         if (format == null)
             return super.toString();
         return super.toString() + " " + format;

-- 
To stop receiving notification emails like this one, please contact
carlosrov...@apache.org.

Reply via email to