Closed
Bug 56810
Opened 24 years ago
Closed 22 years ago
cssp offsetWidth shortened to smaller window width
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
Future
People
(Reporter: martin.jacobs, Assigned: jst)
References
()
Details
(Keywords: dom1, testcase)
Attachments
(1 file)
1.35 KB,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; m18) Gecko/20001015 BuildID: 2000101520 When opening a small window with larger content, content offsetWidth is shortened to window width. Window can't be resized according to its content. offsetHeight still gives correct value. An M18 bug. Reproducible: Always Steps to Reproduce: 1/open a smaller window (100x100) 2/write larger content into it, enclosed in an absolute positioned div element 3/close document 4/get div offsetWidth and offsetHeight Actual Results: offsetWidth is shortened to window width, offsetHeight works fine Expected Results: offsetWidth should give full width of its element, including overflow. this regression happens since M18 2000-10-12; NSpr3 and M17 where OK. see attached file.
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
Unfortunately it's too late to fix this right now, it'll haveto wait for hte next release. Marking Future.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Windows 95 → All
Hardware: PC → All
Summary: cssp offsetWidth shortened to smaller window width → cssp offsetWidth shortened to smaller window width
Target Milestone: --- → Future
Reporter | ||
Comment 3•24 years ago
|
||
Till then, workaround used : blur + maximize + get offsetWidth + resize + focus
Updated•24 years ago
|
Component: DOM Level 1 → DOM HTML
Comment 6•23 years ago
|
||
Priority P5, severity normal, -> DOM Mozilla Extensions (offset* issue)
Severity: major → normal
Component: DOM HTML → DOM Mozilla Extensions
Keywords: testcase
Priority: P3 → P5
Comment 9•22 years ago
|
||
So I have this issue with a div, that is positioned so that half of it is outside the viewable area (so half of it is to the right, outside the viewport) offsetWidth returns half the size (ie the area that is viewable). I assume this is the same issue as this bug, right?
Reporter | ||
Comment 10•22 years ago
|
||
Probably the same issue.
Comment 11•22 years ago
|
||
Marking dup of bug with better analysis. *** This bug has been marked as a duplicate of 65548 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•