Bug 16161

Summary: REGRESSION: window.moveBy(0, 0) moves the window by -22px vertically
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Regression
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Test case none

Description Timothy Hatcher 2007-11-27 11:23:24 PST
Calling window.moveBy(0, 0) moves the window up 22px. This seems to be the height of the window title. Calling window.moveBy(0, -22) does not move the window.

See attached test case.
Comment 1 Timothy Hatcher 2007-11-27 11:23:47 PST
Created attachment 17559 [details]
Test case
Comment 2 Timothy Hatcher 2007-11-27 15:06:29 PST
Landed in r28083. http://trac.webkit.org/projects/webkit/changeset/28083
Comment 3 Timothy Hatcher 2007-11-27 15:20:25 PST
This was a regression. It worked in Safari 3 on Leopard.