summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-02-04 10:36:57 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2017-02-04 10:38:32 +0000
commit51ab1cdf25e80490023577c82cc35b68335eff5e (patch)
tree72bf8d1687a78f80558baac579431d4e8181c6e6 /src/core
parent25f17fdecaa895478a9b2e3e59b044ac5a0e3c4d (diff)
downloadlibdom-51ab1cdf25e80490023577c82cc35b68335eff5e.tar.gz
libdom-51ab1cdf25e80490023577c82cc35b68335eff5e.tar.bz2
Change dom node type count to last value plus one.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/node.c b/src/core/node.c
index d72af0f..17f93dd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -1933,6 +1933,7 @@ bool _dom_node_permitted_child(const dom_node_internal *parent,
case DOM_COMMENT_NODE:
case DOM_DOCUMENT_TYPE_NODE:
case DOM_NOTATION_NODE:
+ case DOM_NODE_TYPE_COUNT:
valid = false;
break;