fix specificity for .class

This commit is contained in:
Кирилл Жумарин 2018-05-26 15:32:52 +03:00 committed by GitHub
parent a465dea0ad
commit 91f37b6365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ void mycss_selectors_parser_selector_class(mycss_entry_t* entry, mycss_token_t*
selector->key = str;
if(entry->selectors->specificity)
entry->selectors->specificity->a++;
entry->selectors->specificity->b++;
mycss_selectors_parser_selector_end(entry, token);
}