Closed
Bug 961
Opened 26 years ago
Closed 25 years ago
[BLOCKER] Document dimensions not exposed to JS yet
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: angus, Assigned: vidur)
References
Details
(Whiteboard: [TESTCASE] document.width not implemented yet)
Attachments
(1 file)
(deleted),
text/html
|
Details |
document.width
window.innerWidth
window.outerWidth
... not implemented yet. I need to get this value for some XPFE stuff I'm
working on. I do not need set yet.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 1•26 years ago
|
||
window.innerWidth should work now.
window.outerWidth waiting on api's into widget stuff.
we'll need to decide what to do with document.width
Comment 3•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA contact re-assigned according to the product areas we're currently working
on.
Updated•26 years ago
|
Target Milestone: M4 → M5
Comment 6•26 years ago
|
||
Not critical for M4 at this point, moving to M5
Updated•26 years ago
|
Target Milestone: M5 → M6
Comment 7•26 years ago
|
||
Moving out to M7
Updated•26 years ago
|
Target Milestone: M7 → M8
Updated•26 years ago
|
Summary: Document/Window dimensions not exposed to JS yet → Document dimensions not exposed to JS yet
Target Milestone: M8 → M11
Comment 8•26 years ago
|
||
I believe the window parts of this now work. Just the document dimensions
don't. Those are less important and less well defined. Chaning summary and
pushing farther down.
Updated•26 years ago
|
Whiteboard: [MAKINGTEST] christian@wenz.org
Comment 9•26 years ago
|
||
Updated•26 years ago
|
Whiteboard: [MAKINGTEST] christian@wenz.org → [TESTCASE] document.width not implemented yet
Comment 10•26 years ago
|
||
Overview Description: document.width is not implemented yet
Steps to reproduce: load the attachment. Note that window.innerWidth,
window.outerWidth and document.width are read.
Actual Results: You get values for window.innerWidth and window.outerWidth, and
document.width = undefined
Expected Results: document.width = [any number]
Build Date & Platform: M7 and 1999070917 build (Win32)
Additional information: the innerWidth/outerWidth implementation seems to be
buggy, I'll file an extra bug report for that.
Comment 11•26 years ago
|
||
jfyi: the window.[inner|outer]Width bug is #9606. I did not send a dependency
to this bug, as bug #961 is now limited to document.width
Comment 12•26 years ago
|
||
I need document.height too.
Updated•26 years ago
|
Summary: Document dimensions not exposed to JS yet → [BLOCKER] Document dimensions not exposed to JS yet
Comment 13•26 years ago
|
||
Upgrading to blocker.
Updated•25 years ago
|
Assignee: joki → brendan
Status: ASSIGNED → NEW
Comment 14•25 years ago
|
||
Joki said I could have this one; could use advice from troy or kipp for source
of document height and width in pixels.
/be
Comment 15•25 years ago
|
||
I see that the document height and width is computed in nsScrollFrame::Reflow()
and nsGfxScrollFrame::Reflow(). The values are not saved into any member
variables. I am not sure how you would get these values to
nsHTMLDocument::GetWidth() and nsHTMLDocument::GetHeight().
Updated•25 years ago
|
Assignee: brendan → vidur
Status: ASSIGNED → NEW
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•25 years ago
|
||
Fix checked in on 10/6/1999. Reviewed by Troy.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 17•25 years ago
|
||
Tested with 10-09-09. Working fine. Marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•