If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

height tag does not work for table

RESOLVED INVALID

Status

()

Firefox
General
RESOLVED INVALID
13 years ago
13 years ago

People

(Reporter: Jeffrey Riaboy, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041215 Firefox/1.0+

table.height=? will not yield any results, but table.style.height does, while 
table.width DOES yield results

Reproducible: Always

Steps to Reproduce:
<table border=1 width=100 id=foo><tr><td>a</td></tr></table>

<script language=javascript>foo.height=1000;</script> // DOES NOT WORK
<script language=javascript>foo.style.height=1000;</script> // DOES WORK

Actual Results:  
setting tag does not set it in the DOM object (checked in DOM object console)

Expected Results:  
expect height to get bigger...

Comment 1

13 years ago
Table elements have a width attribute but not a height attribute:

http://www.w3.org/TR/html401/struct/tables.html#edef-TABLE

Likewise, table elements have a width property but not a height property:

http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-64060425

->INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.