[Webkit-unassigned] [Bug 72852] Scroll position is lost after hide/show element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 05:06:37 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72852





--- Comment #7 from Rakesh <rakesh.kn at motorola.com>  2011-11-28 05:06:36 PST ---
(In reply to comment #5)
> One not so great thing that would happen in this case is that m_scrollableNodeMap will have abandoned data for the node.

After some debugging, I think following two approaches are possible: 

1. Instead of page, document should hold this map(ScrollableNodePoint). We can remove the reference of Node in node's destructor.

2. Have a raredata to hold the scroll position in the node itself which can be directly used.

In both the approaches, to handle the case of node being moved to another page, we can reset the scroll position in setDocument() of Node.

Please let me know your thoughts.

-- 
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