forked from nolanw/HTMLReader
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTMLNamespace.h
More file actions
Latest commit
26 lines (19 loc) · 642 Bytes
/
Copy pathHTMLNamespace.h
File metadata and controls
26 lines (19 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// HTMLNamespace.h
//
// Public domain. https://github.com/nolanw/HTMLReader
#import"HTMLSupport.h"
NS_ASSUME_NONNULL_BEGIN
/**
The three namespaces that this HTML parser cares about.
For more information, see http://www.whatwg.org/specs/web-apps/current-work/multipage/namespaces.html#namespaces
*/
typedefNS_ENUM(NSInteger, HTMLNamespace)
{
/// The default namespace is HTML.
HTMLNamespaceHTML,
/// Most elements within <math> tags are in the MathML namespace.
HTMLNamespaceMathML,
/// Most elements within <svg> tags are in the SVG namespace.
HTMLNamespaceSVG,
};
NS_ASSUME_NONNULL_END