You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/04/09 15:19:19 UTC

[royale-compiler] branch develop updated: solves apache/royale-compiler#40

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new c8d3c2a  solves apache/royale-compiler#40
c8d3c2a is described below

commit c8d3c2a07eb1cd9a22c25f664d9f29fa4d77356c
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Apr 9 17:19:07 2018 +0200

    solves apache/royale-compiler#40
---
 .../compiler/internal/driver/js/royale/JSCSSCompilationSession.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
index 46fa813..f1b2661 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java
@@ -134,7 +134,7 @@ public class JSCSSCompilationSession extends CSSCompilationSession
 	        // add "." to type selectors that don't map cleanly
 	        // to CSS type selectors to convert them to class
 	    	// selectors.
-	        if (!s.startsWith(".") && !s.startsWith("*") && !s.startsWith("#"))
+	        if (!s.startsWith(".") && !s.startsWith("*") && !s.startsWith("#") && !s.startsWith("::"))
 	        {
 	        	String condition = null;
         		int colon = s.indexOf(":");

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