Closed
Bug 274832
Opened 20 years ago
Closed 19 years ago
height tag does not work for table
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jeff, Assigned: bugzilla)
Details
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...
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
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•