diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:30:42 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 17:30:42 +0000 |
commit | 37eb480bbe4ecda49a9c78bfcf5a86c510c42350 (patch) | |
tree | d5ea1691d2e666a54147b06d24029ec81967a6d8 /src/html | |
parent | 89171f671b9c9b4245413b75d2241e59a1d51aed (diff) | |
download | libdom-37eb480bbe4ecda49a9c78bfcf5a86c510c42350.tar.gz libdom-37eb480bbe4ecda49a9c78bfcf5a86c510c42350.tar.bz2 |
Fix: HTMLOptionElement's copy constructor copies its specialised members.
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/html_option_element.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/html/html_option_element.c b/src/html/html_option_element.c index 972b7b5..a593ebe 100644 --- a/src/html/html_option_element.c +++ b/src/html/html_option_element.c @@ -477,6 +477,9 @@ dom_exception _dom_html_option_element_copy_internal( return err; } + new->default_selected = old->default_selected; + new->default_selected_set = old->default_selected_set; + return DOM_NO_ERR; } |