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:
iska
2015-03-14 01:56:37 +01:00
parent 800f697237
commit 0d2d6dedeb
3 changed files with 765 additions and 55 deletions
-2
View File
@@ -10,6 +10,4 @@
@interface HTMLParser : NSObject
- (id)adjustedCurrentNode;
@end
+763 -51
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -57,12 +57,12 @@
- (HTMLElement *)firstNode
{
return _stack.lastObject;
return _stack.firstObject;
}
- (HTMLElement *)lastNode
{
return _stack.firstObject;
return _stack.lastObject;
}
- (id)objectAtIndexedSubscript:(NSUInteger)index;