12591260126112621263126412651266126712681269
StyleRule style = (StyleRule)r; SelectorList sl = style.getSelectorList(); int slen = sl.getLength(); for (int j = 0; j < slen; j++) { ExtendedSelector s = (ExtendedSelector)sl.item(j); if (s.match(elt, pseudo)) { rules.add(style); } } break;
13311332133313341335133613371338133913401341
SelectorList sl = r.getSelectorList(); int spec = 0; int slen = sl.getLength(); for (int k = 0; k < slen; k++) { ExtendedSelector s = (ExtendedSelector)sl.item(k); if (s.match(elt, pseudo)) { int sp = s.getSpecificity(); if (sp > spec) { spec = sp; } }
13281329133013311332133313341335133613371338
14001401140214031404140514061407140814091410
11081109111011111112111311141115111611171118
11811182118311841185118611871188118911901191
13221323132413251326132713281329133013311332
13921393139413951396139713981399140014011402
SelectorList sl = r.getSelectorList(); int spec = 0; int slen = sl.getLength(); for (int k = 0; k < slen; k++) { ExtendedSelector s = (ExtendedSelector) sl.item(k); if (s.match(elt, pseudo)) { int sp = s.getSpecificity(); if (sp > spec) { spec = sp; } }