On Thursday, February 20, 2014 1:16:42 PM UTC+1, Ed wrote:
>
> What is an elegant workaround for the CSS ~ selector? 
> Do I really need to inject it myself like done 
> here<http://stackoverflow.com/questions/8764010/how-to-make-the-css-selector-work-in-gwt-css-resource>
> .
>
> Why is it actually not supported as his little brother + is supported?
>

+ is from CSS 2: http://www.w3.org/TR/CSS21/selector.html
 

> When using the ~ selector, GWT shows a warning message in the console  and 
> will not inject it.
>

…because it uses the Flute CSS parser, that only supports CSS 2 syntax. 
Have a look at gss.gwt if you want to use CSS 3: 
 https://github.com/jDramaix/gss.gwt

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to