From a03f470334566315bbd0a57dd53406f7738856ce Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 26 Mar 2012 17:57:06 +0000 Subject: Intern an 'id' string for our HTML elements to use svn path=/trunk/libdom/; revision=13723 --- src/html/html_document.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/html/html_document.h') 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 */ -- cgit v1.2.3