Closed
Bug 428075
Opened 16 years ago
Closed 16 years ago
Surrounding div height has become higher, while object reports wrong offsetHeight value
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: martijn.martijn, Unassigned)
Details
(Keywords: regression, testcase)
Attachments
(1 file)
2.16 KB,
text/html
|
Details |
See testcase. I would expect for the object and div offsetHeight values to be 111px. Not the 9px for the object and 116px for the div value, I now get. This regressed between 2005-09-21 and 2005-09-23, so I think a regression from bug 1156.
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
Isn't this just a consequence of the <object> becoming a regular inline frame? That would certainly lead to the behavior you see, and is what we want to be doing here, imo.
Reporter | ||
Comment 2•16 years ago
|
||
The <object> has a green border. With the testcase that green bordered box has clearly a height larger than 19px. offsetHeight and getBoundingClientRect.height should return the height of that green bordered box, no?
Comment 3•16 years ago
|
||
It has a green outline. Outlines are drawn around the boundaries of the overflow area. If you put a border on the node, you'll see that the offsetHeight returns the height of the border box correctly.
Reporter | ||
Comment 4•16 years ago
|
||
Yeah, sorry, you're right. This is invalid.
Reporter | ||
Comment 5•16 years ago
|
||
Ok, I guess I'm basically complaining about the fact that offsetHeight for an inline frame doesn't account for larger elements that might be wrapped in there. But there are known bugs about those.
You need to log in
before you can comment on or make changes to this bug.
Description
•