From bcc4b3e3c69c02107f45e0be2342750ce9119a53 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 5 Feb 2016 16:07:55 +0000 Subject: Fix: HTMLButtonElement's copy constructor copies its specialised members. --- src/html/html_button_element.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c index a732247..04a17dd 100644 --- a/src/html/html_button_element.c +++ b/src/html/html_button_element.c @@ -174,6 +174,10 @@ dom_exception _dom_html_button_element_copy_internal( return err; } + /* TODO: We don't seem to keep a ref to form element, so just + * copy the pointer for now. */ + new->form = old->form; + return DOM_NO_ERR; } -- cgit v1.2.3