Bug 47963
Summary: | Scrollbar in wrong position if hidden then unhidden | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gregg Tavares <gman> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | hyatt, mars.aaron |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)#quickIDX8 |
Gregg Tavares
What steps will reproduce the problem?
1. go to http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)#quickIDX8
2. Put the mouse over the code sample under "JSON Via Parse"
3. Scroll the CODE SAMPLE to the bottom using the scrollbar inside the CODE SAMPLE
4. Move the mouse outside the code sample then back over the code sample.
What is the expected output?
The scrollbar inside the CODE SAMPLE should be at the bottom, matching the state of the CODE SAMPLE.
What do you see instead?
The scrollbar is at the top.
Apparently the issue is that the scrollbar is created and destroyed since "overflow:auto" in only on "hover". When it's re-created it is not initialized to the correct value.
These bugs appear to be the same issue
https://bugs.webkit.org/show_bug.cgi?id=35366
https://bugs.webkit.org/show_bug.cgi?id=26438
It was suggested that Mr. Hyatt might know this part of the code.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Aaron Mars
I have confirmed that this still exists using Chrome 14.0.794.0 dev (Linux)