summaryrefslogtreecommitdiff
path: root/include/dom/html/html_element.h
blob: 8c4166450048119e1b6b8a80e65be8cb57d589dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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