if (userStyleSheet != null) {
addMatchingRules(userStyleSheet.getCssRules(), e, pe, null, uaRules);
uaRules = sortRules(uaRules, e, pe);
for (int i = 0; i < uaRules.getLength(); i++) {
CSSStyleRule rule = (CSSStyleRule)uaRules.item(i);
CSSStyleDeclaration decl = rule.getStyle();
int len = decl.getLength();
for (int j = 0; j < len; j++) {
setUserProperty(decl.item(j), decl, rd);
}
}