Sunday, August 21, 2016

Re: Using Element Queries (EQCSS) with GSS?

Yeah, that's what I meant by GSS. EQCSS looks like a very powerful and useful concept - I hope it does become genuine CSS some day. 

Unfortunately, using a separate TextResource isn't quite what I'm looking for. I want the best of both worlds. :)

On Sunday, August 21, 2016, Jens <jens.nehlmeier@gmail.com> wrote:
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 a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/TwNNNzRk1sY/unsubscribe.
To unsubscribe from this group and all its topics, 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.


--
-.. .- ...- .. -.. ... -... . -.-. -.- . .-.
This message was sent from my mobile phone. Please excuse any typos or auto-corrections I might have missed.

--
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