[Webkit-unassigned] [Bug 42593] element.scrollIntoView() sometimes doesn't scroll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 15 13:24:30 PDT 2011


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


Emil A Eklund <eae at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eae at chromium.org




--- Comment #2 from Emil A Eklund <eae at chromium.org>  2011-03-15 13:24:30 PST ---
The current behavior is intentional. Whether it's correct or not I'll leave unsaid for now.

RenderLayer.cpp:

    #define MIN_INTERSECT_FOR_REVEAL 32

    if (intersectWidth == exposeRect.width() || intersectWidth >= MIN_INTERSECT_FOR_REVEAL)
        // If the rectangle is fully visible, use the specified visible behavior.
        // If the rectangle is partially visible, but over a certain threshold,
        // then treat it as fully visible to avoid unnecessary horizontal scrolling

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