Merge pull request #73 from Kalmend/okalmend/fix-pseudo-class

Finder: type-o in checked pseudo-class
This commit is contained in:
Alexander 2019-10-28 23:40:55 +03:00 committed by GitHub
commit 5d6dec923b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -514,7 +514,7 @@ bool modest_finder_selector_sub_type_pseudo_class_checked(modest_finder_t* finde
} }
else if(base_node->token && base_node->tag_id >= MyHTML_TAG_LAST_ENTRY) else if(base_node->token && base_node->tag_id >= MyHTML_TAG_LAST_ENTRY)
{ {
return modest_finder_match_attribute_only_key(base_node->token->attr_first, "checked", 8); return modest_finder_match_attribute_only_key(base_node->token->attr_first, "checked", 7);
} }
return false; return false;
} }