Mozilla is using the HTML HEIGHT attribute for TABLEs so IN <TABLE ID="aTable" HEIGHT="100" WIDTH="100" BORDER="1"> <TR> <TD> Kibology </TD> </TR> </TABLE> both width and height of the table are layout as specified. Now the table element document.getElementById('aTable') has a .width attribute but not a .height This assymmetry is around in the HTML 4 and DOM level 1 specs but I suggest to make .height available too. Otherwise you have to teach people to script document.getElementById('aTable').width but document.getElementById('aTable').getAttribute('height') which seems unnecessary complicated and assymetric.
Reassigning to Vidur.
As noted, table.height isn't a DOM Level 1 property. This is an RFE and will be pushed to M18.
Uh. its broked in linux too. This is really a crossplatform thing here. shouldn't it be all/all?
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
*** Bug 58387 has been marked as a duplicate of this bug. ***
QA contact update
Hmm. I'd argue against this getting fixed because the table height attribute should only work in quirks mode-it's not standard. If you're doing DHTML where you really need access to table dimensions, probably using getComputedStyle is a better way to go (although a lot of that isn't hooked up yet).
I dont see it in any of the XHTML1.0/HTML4.1 DTD's. Lets nuke this nonsense.
Zap. Hurrah for standards.