diff -r c8a366e56285 -r 60c5402cb945 webengine/osswebengine/WebKit/s60/misc/WebUtil.cpp --- a/webengine/osswebengine/WebKit/s60/misc/WebUtil.cpp Thu Sep 24 12:53:48 2009 +0300 +++ b/webengine/osswebengine/WebKit/s60/misc/WebUtil.cpp Mon Oct 26 08:28:45 2009 +0200 @@ -748,12 +748,12 @@ //scroll only for the list which is either multiple or single but with more than one lines if (isScrollList) { RenderListBox* render = static_cast(e->renderer()); - if (render->isScrollable()) { + HTMLSelectElement* selectElement = static_cast( e ); IntRect r = e->getRect(); int curIndex = render->listIndexAtOffset(point.x() - r.x(), point.y() - r.y()); int topIndex = render->indexOffset(); - int bottomIndex = topIndex + selectElement->size() - 1; + int bottomIndex = topIndex + render->getSize() - 1; TPoint curPointInSelectBox(point.x() - r.x(), point.y() - r.y()); IntRect itemRect = render->itemRect(0, 0, curIndex); int centerOfRect = itemRect.y() + (itemRect.height() * 1) / 4; @@ -785,7 +785,7 @@ ret = true; } } - }//isScrollable() + }//isScrollList } //isControl } //focusedElementType()