Thursday, February 20, 2014

Re: sibling CSS selector ~ workaround?



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.

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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment