Summary: | Problem with window.scrollX/window.scrollY [menus in di.fm] | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Raul Moratalla <raul.moratalla> |
Component: | khtml ecma | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | maksim |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Raul Moratalla
2005-12-06 12:58:33 UTC
For some reason scrollX/scrollY returned Undefined here, causing the problem. Very odd. SVN commit 486021 by orlovich: These work a lot better if one actually binds them. Fixes submenu positionning on di.fm. (Yey for menu packages that use non-obfuscated, well-commented code!) BUG:117787 M +2 -0 kjs_window.cpp --- branches/KDE/3.5/kdelibs/khtml/ecma/kjs_window.cpp #486020:486021 @@ -260,6 +260,8 @@ scroll Window::Scroll DontDelete|Function 2 scrollBy Window::ScrollBy DontDelete|Function 2 scrollTo Window::ScrollTo DontDelete|Function 2 + scrollX Window::ScrollX DontDelete|ReadOnly + scrollY Window::ScrollY DontDelete|ReadOnly moveBy Window::MoveBy DontDelete|Function 2 moveTo Window::MoveTo DontDelete|Function 2 resizeBy Window::ResizeBy DontDelete|Function 2 SVN commit 486024 by orlovich: Minimal test for scrollX/scrollY being thee CCBUG:117787 M window.js |