CSSOMParser in gwt client side
Posted
by Zoja
on Stack Overflow
See other posts from Stack Overflow
or by Zoja
Published on 2010-05-24T13:43:55Z
Indexed on
2010/05/25
20:01 UTC
Read the original article
Hit count: 357
What i would like to do is to read an css file from a GET request on the client side, and then i would like to parse it to check all the classes.
The problem is that I need to implement CSSOMParser for that, and here are the imports
import org.w3c.dom.css.CSSRule;
import org.w3c.dom.css.CSSRuleList;
import org.w3c.dom.css.CSSStyleRule;
import org.w3c.dom.css.CSSStyleSheet;
import com.steadystate.css.parser.CSSOMParser;
the problem is that none of those classes ale probably javascript compilant, so they don't want to compile if they're on the client side. Is there a way to get it done ?
© Stack Overflow or respective owner