diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-09 22:20:49 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-21 17:37:15 +0530 |
commit | 0800f7b56d496f27283da3e76ae100e88cb0c6e3 (patch) | |
tree | d3c7ede482c47559d783c8b687d7d41079e787a8 /test/DOMTSHandler.pm | |
parent | 3129c7484a84589794e437e071aa09888e7cbd4a (diff) | |
download | libdom-0800f7b56d496f27283da3e76ae100e88cb0c6e3.tar.gz libdom-0800f7b56d496f27283da3e76ae100e88cb0c6e3.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}; |