[Webkit-unassigned] [Bug 121419] New: [GTK] [Stable] [Regression] document.body.scrollTop is always 0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 16 03:21:55 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=121419
Summary: [GTK] [Stable] [Regression] document.body.scrollTop is
always 0
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: gdesmott at gnome.org
Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=707781
- Start an empathy chat and reduce the window size so the vertical scrollbar appears
- Move up the scrollbar so the latest lines aren't visible
- Send a message
Expected result: the window scroll down so the sent message is visible
Actual result: the window doesn't scroll down
Empathy uses a nearBottom() JS function (empathy/data/Template.html) to check if it should automatically scroll down when a new message is displayed. This function is broken because document.body.scrollTop is always 0, ignoring the actual position of the scrollbar.
This can also be easily reproduced using the WebKit inspector to check the value of scrollTop. Just use 'gsettings set org.gnome.Empathy.conversation enable-webkit-developer-tools true' and then right click in the chat window.
I can only reproduce this bug using webkit-2.2 branch. It works fine using 2.0.4 so that's probably a regression.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list