CSSOMParser in gwt client side
- by Zoja
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 ?