Sunday, August 21, 2016

Re: Using Element Queries (EQCSS) with GSS?

Its more like that Closure Stylesheets does not recognize @element. Given that its not a CSS spec but just a syntax for the element queries JS library Closure Stylesheet probably won't implement support for it.

For now your best bet is to use a TextResource and inject your EQCSS manually using StyleInjector. To target an element using @element you would need to mark that CSS class as external in case its part of a CssResource so it won't be renamed by GWT.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment