Add tests for the CSS Combinator selectors
This commit is contained in:
1 parent
2e10c23f52
commit
55bb8effb2
3 files changed
+123
-1
No files matched your search
@@ -73,7 +73,7 @@
|
||||
- (BOOL)acceptElement:(HTMLElement *)element
|
||||
{
|
||||
HTMLElement *parent = element.parentElement;
|
||||
return parent != nil && [self.selector acceptElement:element];
|
||||
return parent != nil && [self.selector acceptElement:parent];
|
||||
}
|
||||
|
||||
- (NSString *)debugDescription
|
||||
|
||||
Reference in new issue
Block a user