summaryrefslogtreecommitdiff
path: root/include/dom/html/html_element.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-08-30 13:06:19 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-08-30 13:06:19 +0000
commitb657c277f517f4ab0a4da21e4f8c4cb6f8f53013 (patch)
tree4ce25caee01c0a2a2ebbe052999b5eb8a2fbe2e3 /include/dom/html/html_element.h
parent229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd (diff)
downloadlibdom-b657c277f517f4ab0a4da21e4f8c4cb6f8f53013.tar.gz
libdom-b657c277f517f4ab0a4da21e4f8c4cb6f8f53013.tar.bz2
Merge branches/struggleyb/libdom-html to trunk.
A few additional fixes to reduce the number of regressions to single figures. svn path=/trunk/dom/; revision=10724
Diffstat (limited to 'include/dom/html/html_element.h')
-rw-r--r--include/dom/html/html_element.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dom/html/html_element.h b/include/dom/html/html_element.h
new file mode 100644
index 0000000..8c41664
--- /dev/null
+++ b/include/dom/html/html_element.h
@@ -0,0 +1,26 @@
+/*
+ * This file is part of libdom.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ */
+
+#ifndef dom_html_element_h_
+#define dom_html_element_h_
+
+typedef struct dom_html_element dom_html_element;
+
+/**
+ * Note: DOM HTML spec is used to provide a more convenient way to
+ * access Element's attribute through property. But, for implementation like
+ * C, such propery provide no more convenience than Element.get(set)Attribute
+ * function, so we ignore all the propety whose type is DOMString in this
+ * implementation, clients can always access these property through
+ * get(set)Attribute methods.
+ *
+ * For the readonly property, an readonly Attr node should be created, so once
+ * these Attr nodes are created, they can not be changed any more.
+ */
+
+#endif
+