cls = className + (count++);
}
classByProps.put(props, cls);
SelectorRule rule = css.getRuleForSelector(selector, true);
InlineRule p = props.getProperties().getPropertySet();
Iterator ps = p.properties();
while (ps.hasNext()) {
String pn = (String) ps.next();
CSSValue pv = p.get(pn);
rule.set(pn, pv);
}