Add implementation for the rest of the insertion modes
"in table text", "in caption", "in column group", "in table body", "in row", "in cell", "in select", "in select in table", "in template", "after body", "in frameset", "after frameset", "after after body", "after after frameset"
This commit is contained in:
@@ -10,6 +10,4 @@
|
||||
|
||||
@interface HTMLParser : NSObject
|
||||
|
||||
- (id)adjustedCurrentNode;
|
||||
|
||||
@end
|
||||
|
||||
+763
-51
File diff suppressed because it is too large
Load Diff
@@ -57,12 +57,12 @@
|
||||
|
||||
- (HTMLElement *)firstNode
|
||||
{
|
||||
return _stack.lastObject;
|
||||
return _stack.firstObject;
|
||||
}
|
||||
|
||||
- (HTMLElement *)lastNode
|
||||
{
|
||||
return _stack.firstObject;
|
||||
return _stack.lastObject;
|
||||
}
|
||||
|
||||
- (id)objectAtIndexedSubscript:(NSUInteger)index;
|
||||
|
||||
Reference in New Issue
Block a user