diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 12:14:12 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:20:27 +0000 |
commit | 6d600214268e64e6bc83df61d8abfdf8963acdad (patch) | |
tree | d43adeb39b6e76c61fe434fb15ead4e20d39e4ea /src/html/html_document.h | |
parent | 410274173d434e34a5eb085d13228d68cd44d509 (diff) | |
download | libdom-6d600214268e64e6bc83df61d8abfdf8963acdad.tar.gz libdom-6d600214268e64e6bc83df61d8abfdf8963acdad.tar.bz2 |
Split out tag names from general string table and enum.
Previously these were mixed in the the document's general memoised strings.
This also gives us an enum by which HTML elements can be identified.
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r-- | src/html/html_document.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h index c00529b..dab4dc6 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -28,6 +28,8 @@ struct dom_html_document { /** Cached strings for html objects to use */ dom_string **memoised; + /** Cached strings for HTML element names */ + dom_string **elements; }; #include "html_document_strings.h" |