summaryrefslogtreecommitdiff
path: root/src/html/html_quote_element.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-01-28 10:08:42 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-01-28 10:08:42 +0000
commit809a7dcd1c803065eeb8ea39a605b6e0e2ec5241 (patch)
tree3d8bbe3a8d8d9db8fa1091846bff0a3f7a0726ba /src/html/html_quote_element.c
parent9def0a44e12c1469e0e4af2881242f5f1df9b3a0 (diff)
parent4bd00fd2f2e1b4951be2b168261e1bc92f844c24 (diff)
downloadlibdom-809a7dcd1c803065eeb8ea39a605b6e0e2ec5241.tar.gz
libdom-809a7dcd1c803065eeb8ea39a605b6e0e2ec5241.tar.bz2
Merge branch 'tlsa/html-element-type'
Diffstat (limited to 'src/html/html_quote_element.c')
-rw-r--r--src/html/html_quote_element.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html/html_quote_element.c b/src/html/html_quote_element.c
index 988ef5b..17961c0 100644
--- a/src/html/html_quote_element.c
+++ b/src/html/html_quote_element.c
@@ -32,7 +32,7 @@ static struct dom_element_protected_vtable _protect_vtable = {
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
- dom_string *namespace, dom_string *prefix,
+ dom_string *tag_name, dom_string *namespace, dom_string *prefix,
struct dom_html_quote_element **ele)
{
struct dom_node_internal *node;
@@ -46,7 +46,8 @@ dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
node->base.vtable = &_dom_html_element_vtable;
node->vtable = &_protect_vtable;
- return _dom_html_quote_element_initialise(doc, namespace, prefix, *ele);
+ return _dom_html_quote_element_initialise(doc, tag_name,
+ namespace, prefix, *ele);
}
/**
@@ -57,12 +58,11 @@ dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_html_quote_element_initialise(struct dom_html_document *doc,
- dom_string *namespace, dom_string *prefix,
+ dom_string *tag_name, dom_string *namespace, dom_string *prefix,
struct dom_html_quote_element *ele)
{
return _dom_html_element_initialise(doc, &ele->base,
- doc->elements[DOM_HTML_ELEMENT_TYPE_Q],
- namespace, prefix);
+ tag_name, namespace, prefix);
}
/**