From 3c44a88b391c46b1aab1b26f0c6137af3ae180b1 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Fri, 23 May 2008 02:52:47 +0000 Subject: [PATCH] Document the invisible and name members of struct html_element --- src/document/html/parser.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/document/html/parser.h b/src/document/html/parser.h index 8dc5c2ae..8f99befc 100644 --- a/src/document/html/parser.h +++ b/src/document/html/parser.h @@ -126,9 +126,18 @@ struct html_element { struct text_attrib attr; struct par_attrib parattr; + + /* invisible is a flag using which element handlers can control + * processing in start_element. 0 indicates that start_element should + * process tags, 1 indicates that it should not, and 2 or greater + * indicates that it should process only script tags. */ int invisible; + + /* The name of the element without NUL termination. name is a pointer + * into the actual document source. */ unsigned char *name; int namelen; + unsigned char *options; /* See document/html/parser/parse.c's element_info.linebreak * description. */