11111112111311141115111611171118111911201121
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;
11841185118611871188118911901191119211931194
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; } }
11041105110611071108110911101111111211131114
11771178117911801181118211831184118511861187
10061007100810091010101110121013101410151016
10391040104110421043104410451046104710481049
10911092109310941095109610971098109911001101
11641165116611671168116911701171117211731174
12491250125112521253125412551256125712581259
13211322132313241325132613271328132913301331