Closed
Bug 204312
Opened 21 years ago
Closed 20 years ago
Offsetwidth for tr element returns enormous value if its table is absolutely positioned and is within an absolutely positioned element.
Categories
(Core :: Layout: Positioned, defect)
Core
Layout: Positioned
Tracking
()
RESOLVED
FIXED
People
(Reporter: zzhumphreyt, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase, Whiteboard: [reflow-refactor])
Attachments
(1 file)
948 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 The test case page demonstrates the bug. The first alert should not report the width of the table row as 71 million; the second alert is correct. Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•21 years ago
|
||
Comment 2•21 years ago
|
||
Actaully, that _is_ how wide the <tr> is, if you look at it in DOM inspector. So this may be a layout bug, but certainly not a DOM one....
Assignee: dom_bugs → table
Status: UNCONFIRMED → NEW
Component: DOM Level 0 → Layout: Tables
Ever confirmed: true
OS: Windows XP → All
QA Contact: ashishbhatt → madhur
Hardware: PC → All
71582792 * 15 = 1073741880 = 0x40000038 -> Somebody is doing arithmethics with an unconstrained size. For those of you who cant wait to fix the bug, Here are the steps to debug: first identify what name the variable offset.width has internally it should be part of the reflowstate, second look for the unconstrained size arithmetics, they should NEVER happen.
This is not a table bug! Unconstrained resize reflows should NEVER be issued on a table. area 025D068C r=2 a=9180,UC c=UC,UC cnt=873 tblO 025D0924 r=2 a=UC,UC c=0,0 cnt=874 tblO 025D0924 d=885,570 o=(0,0) UC x 570 area 025D068C d=0,0 o=(120,1200) UC x 570 The bug here is that abs pos blocks dont play by the rules, they issue a unconstrained initial reflow and then should issue a constrained resize reflow but they do not.
ok, ->r&a pos
Assignee: table → position
Component: Layout: Tables → Layout: R & A Pos
QA Contact: madhur → ian
Whiteboard: [reflow-refactor]
Assignee | ||
Comment 6•20 years ago
|
||
The numbers in the testcase looks good to me. -> FIXED (by bug 201897)
Assignee | ||
Updated•20 years ago
|
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•