Add Character Data implementation as a base for text and comment nodes

https://dom.spec.whatwg.org/#characterdata
This commit is contained in:
iska
2016-11-27 02:09:06 +01:00
parent 49799f8bcd
commit fb2952062d
9 changed files with 139 additions and 72 deletions
+2 -5
View File
@@ -6,17 +6,14 @@
// Copyright (c) 2015 BrainCookie. All rights reserved.
//
#import "HTMLNode.h"
#import "HTMLCharacterData.h"
NS_ASSUME_NONNULL_BEGIN
/**
A HTML Comment node
*/
@interface HTMLComment : HTMLNode
/** @brief The comment string. */
@property (nonatomic, copy) NSString *data;
@interface HTMLComment : HTMLCharacterData
/**
Initializes a new HTML comment node.