newChildren.add(newNode);
break;
}
}
CssConditionalBlockNode newNode = new CssConditionalBlockNode();
for (CssConditionalRuleNode child : newChildren) {
newNode.addChildToBack(child);
}
visitController.replaceCurrentBlockChildWith(Lists.newArrayList(newNode), true);
// mark this node as already visited.