summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-09-22 23:53:20 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-09-22 23:53:20 +0000
commit8d36a312206d3803f587cb81add7ea6875d58c10 (patch)
tree123a07793c5195f580ab9e3a715446f469c559c8 /src
parent2ec62a175155865739387b194dcf56b4b2d1b307 (diff)
downloadlibdom-8d36a312206d3803f587cb81add7ea6875d58c10.tar.gz
libdom-8d36a312206d3803f587cb81add7ea6875d58c10.tar.bz2
Note the need for handling of defaulted attributes in dom_element_remove_attribute{_node}
svn path=/trunk/dom/; revision=3578
Diffstat (limited to 'src')
-rw-r--r--src/core/element.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/element.c b/src/core/element.c
index 452d2c6..16c6932 100644
--- a/src/core/element.c
+++ b/src/core/element.c
@@ -330,6 +330,8 @@ dom_exception dom_element_remove_attribute(struct dom_element *element,
dom_node_unref(a);
}
+ /** \todo defaulted attribute handling */
+
return DOM_NO_ERR;
}
@@ -494,6 +496,8 @@ dom_exception dom_element_remove_attribute_node(struct dom_element *element,
a->previous = a->next = a->parent = NULL;
+ /** \todo defaulted attribute handling */
+
/* Return the detached node */
dom_node_ref(a);
*result = attr;