HoriSun / closure-compiler

Automatically exported from code.google.com/p/closure-compiler
0 stars 0 forks source link

Support for HTMLTableSectionElement interface #1308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set to receive a @param {HTMLTableSectionElement}
2. Cast to @type {HTMLTableSectionElement}

What is the expected output? What do you see instead?

Correct typecheck. Instead I get:

found   : Element
required: string

What version of the product are you using? On what operating system?

Closure Compiler (http://code.google.com/closure/compiler)
Version: v20140407
Built on: 2014/04/07 14:04

Please provide any additional information below.

You already specify the HTMLTableElement interface:

https://code.google.com/p/closure-compiler/source/browse/externs/w3c_dom2.js

But you lack of support for this

http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/html.html#ID-67417573

Please let me know if this is on purpose or if a patch is accepted.

Original issue reported on code.google.com by lgand...@gmail.com on 16 Apr 2014 at 8:10

GoogleCodeExporter commented 9 years ago
Excuse me, this bug is invalid. The interface indeed exists. You may close this 
issue.

Original comment by lgand...@gmail.com on 16 Apr 2014 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by dim...@google.com on 16 Apr 2014 at 8:44