[Webkit-unassigned] [Bug 10796] New: [DOM 0] height and innerHeight (parameters in window.open() call) should correspond to the same measurement
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Sep 9 19:15:56 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10796
Summary: [DOM 0] height and innerHeight (parameters in
window.open() call) should correspond to the same
measurement
Product: WebKit
Version: 416.x
Platform: PC
URL: http://www.gtalbot.org/BugzillaSection/MozPopupHelpTestc
aseDebugger.html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: browserbugs at gtalbot.org
Back in April 2006, I noted this wrong, incorrect behavior of Safari 2.02
(416.13). I forgot to file a bug on this.
Description:
------------
height and innerHeight should equate to the same measurement. Right now, in
Safari 2.02 (416.3), height and outerHeight equate, correspond to the same
measurement: that's wrong.
width and innerWidth should equate to the same measurement. Right now, in
Safari 2.02 (416.3), width and outer Width equate, correspond to the same
measurement: that's wrong.
Steps to reproduce:
-------------------
1- Load provided URL
2- With the form, define a height for a sub-window and then, in the sub-window,
compare/verify that the outerHeight is equal to the height value which is wrong
Actual results:
---------------
height and outerHeight are the same value. height and innerHeight are not the
same value.
Expected results:
-----------------
height value and innerHeight value should be the same in a sub-window.
outerHeight should always be different (and greater than) from height value.
More documentation on this precise issue:
-----------------------------------------
"height: Specifies the height of the content area, viewing area of the new
secondary window in pixels. The height value includes the height of the
horizontal scrollbar if present."
http://www.gtalbot.org/BugzillaSection/Bug195867GDR_WindowOpen.html#GrpPositionSizeFeatures
Diagram:
http://www.gtalbot.org/BugzillaSection/Bug195867GDR_WindowOpen.html#OuterHeightVersusHeightOrInnerHeight
"height: Specifies the height of the content area, viewing area of the new
secondary window in pixels. The height value includes the height of the
horizontal scrollbar if present."
http://developer.mozilla.org/en/docs/DOM:window.open#Position_and_size_features
Diagram:
http://developer.mozilla.org/en/docs/DOM:window.open#Note_on_outerHeight_versus_height
https://bugzilla.mozilla.org/show_bug.cgi?id=232531#c3
https://bugzilla.mozilla.org/show_bug.cgi?id=174314#c4
{
Backwards compatibility:
* open(height,width) equates to the new open(innerHeight,innerWidth)
(...)
Note: innerHeight and innerWidth options replace the height and width options,
but they remain for backwards compatibility."
JAVASCRIPT 1.2 NEW WINDOW METHODS AND PROPERTIES
http://web.archive.org/web/20040603142741/http://developer.netscape.com/docs/technote/javascript/window/index.html#meth_open
The given definition/description of width/height at this page
http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.3/reference/window.html#1202786
is not sufficiently explicit, precise.
}
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list