Name.css("link"), Name.css("hover"));
private void removeUnsafeConstructs(AncestorChain<? extends CssTree> t) {
// 1) Check that all classes, ids, property names, etc. are valid
// css identifiers.
t.node.visitPreOrder(new ParseTreeNodeVisitor() {
public boolean visit(ParseTreeNode node) {
if (node instanceof CssTree.SimpleSelector) {
for (CssTree child : ((CssTree.SimpleSelector) node).children()) {
if (child instanceof CssTree.Pseudo) {
child = child.children().get(0);