diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-09 22:20:49 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-07-18 03:44:34 +0530 |
commit | 09cc381be6ed4e722e28dbf494458a9b6e6f809d (patch) | |
tree | 21169585d867ff3d2277448c9dd8ced848a7bef8 /test/DOMTSHandler.pm | |
parent | 067d862e55500d89e8e96637a4678cf25cae478b (diff) | |
download | libdom-09cc381be6ed4e722e28dbf494458a9b6e6f809d.tar.gz libdom-09cc381be6ed4e722e28dbf494458a9b6e6f809d.tar.bz2 |
[HTMLCollection && DOMTSHandler && dtd interface] fixes
Diffstat (limited to 'test/DOMTSHandler.pm')
-rw-r--r-- | test/DOMTSHandler.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index fa71365..fec9bcb 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -48,6 +48,7 @@ our %special_type = ( HTMLTableSectionElement => "dom_html_table_section_element *", HTMLTableElement => "dom_html_table_element *", HTMLTableRowElement => "dom_html_table_row_element *", + HTMLOptionsCollection => "dom_html_options_collection *", ); our %special_prefix = ( DOMString => "dom_string", @@ -1491,7 +1492,7 @@ sub to_get_attribute_cast { sub get_get_attribute_prefix { my $type = shift; my $interface = shift; - if ((($interface eq "HTMLCollection") or ($interface eq "HTMLSelectElement")) and ($type eq "length")) { + if ($type eq "length") { $prefix = "uint32_t "; } elsif (exists $special_prefix{$type}) { $prefix = $special_prefix{$type}; |