diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-26 17:57:06 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-26 17:57:06 +0000 |
commit | a03f470334566315bbd0a57dd53406f7738856ce (patch) | |
tree | 80aeb349585fab5cef089dc2194d03dcb4972ba0 /src/html/html_document.h | |
parent | 057abe26bb66c87dec76d58c5fde14f67c82d847 (diff) | |
download | libdom-a03f470334566315bbd0a57dd53406f7738856ce.tar.gz libdom-a03f470334566315bbd0a57dd53406f7738856ce.tar.bz2 |
Intern an 'id' string for our HTML elements to use
svn path=/trunk/libdom/; revision=13723
Diffstat (limited to 'src/html/html_document.h')
-rw-r--r-- | src/html/html_document.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/html/html_document.h b/src/html/html_document.h index a77a683..e3cd80a 100644 --- a/src/html/html_document.h +++ b/src/html/html_document.h @@ -23,6 +23,9 @@ struct dom_html_document { dom_string *domain; /**< HTML document domain */ dom_string *url; /**< HTML document URL */ dom_string *cookie; /**< HTML document cookie */ + + /* Cached strings for html objects to use */ + dom_string *_memo_id; /**< Memoised 'id' */ }; /* Create a HTMLDocument */ |