diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-11-22 12:43:17 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-11-22 12:43:17 +0000 |
commit | 6f632d77b90477fbf9dfe576de54de0d232d6064 (patch) | |
tree | 6011b7f73c30fb0eacd6c59055d1bc48f317ee04 | |
parent | ed672c93dd99779c90635d063ed5f060e82c6c82 (diff) | |
download | libdom-6f632d77b90477fbf9dfe576de54de0d232d6064.tar.gz libdom-6f632d77b90477fbf9dfe576de54de0d232d6064.tar.bz2 |
Ensure HTMLDocument uses Document's Node vtable so that .textContent is correct
-rw-r--r-- | src/html/html_document.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c index 53bb228..096c84e 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -73,7 +73,7 @@ static struct dom_html_document_vtable html_document_vtable = { { DOM_NODE_EVENT_TARGET_VTABLE }, - DOM_NODE_VTABLE, + DOM_NODE_VTABLE_DOCUMENT, }, DOM_DOCUMENT_VTABLE_HTML }, |