-delete-
-delete-
Hi, having some trouble with parseSelectors. Mostly following the example in the documentation: InputSource source = new InputSource(new StringReader(css)); CSSOMParser parser = new CSSOMParser(new SACParserCSS3()); SelectorList selectorList = parser.parseSelectors(source); Where css is a simple string eg div { background-color: black; } But while parser.parseStyleSheet operation is working, parseSelectors always returns null whatever css i try. To explain a bit more my use case, i'm trying to parse...
Hi, having some trouble with parseSelectors. Mostly following the example in the documentation: InputSource source = new InputSource(new StringReader(css)); CSSOMParser parser = new CSSOMParser(new SACParserCSS3()); SelectorList selectorList = parser.parseSelectors(source); Where css is a simple string eg div { background-color: black; } But while parser.parseStyleSheet operation is working, parseSelectors always returns null whatever css i try. Any tips ?