Open
Bug 263492
Opened 20 years ago
Updated 2 years ago
Computed size is incorrect if inside column
Categories
(Core :: Layout, defect)
Tracking
()
NEW
People
(Reporter: erik, Unassigned)
Details
Using the test case for bug 251162
https://bugzilla.mozilla.org/attachment.cgi?id=161483&action=view
and then resize the window so that the second paragraph is cut into the 2
columns. Once that is done open up DOM inspector and look at the computed CSS
for width and height (as well as offsetWidth, offsetHeight, offsetLeft,
offsetTop, clientWidth, clientHeight).
The size and position seems to report the first part of the paragraph frame when
it should return the union of the frames (just like what is happening for inline
frames that wrap rows).
I'm not at all sure what the computed CSS styles should be here.
The DOM properties should be working based on work that we've already done. I'll
take a look when I get a chance.
Comment 2•20 years ago
|
||
The only thing governing computed style behavior is backwards compat, at this
point (or the CSS2.1 spec, but then computed width will really be computed
width, and not what we return now). So I don't think we should change the
computed style behavior. Note that computed style for inlines doesn't do at all
the same thing that offset*/client* do.
I agree that the DOM props should Just Work; I'm not sure what's up there.
Assignee: roc → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•