[Webkit-unassigned] [Bug 82875] New: Pressing Return at the bottom of an enclosed contenteditable div makes scrolling to jump

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 2 03:12:40 PDT 2012


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

           Summary: Pressing Return at the bottom of an enclosed
                    contenteditable div makes scrolling to jump
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mnaganov at chromium.org
                CC: rniwa at webkit.org


Created an attachment (id=135054)
 --> (https://bugs.webkit.org/attachment.cgi?id=135054&action=review)
Repro case (courtesy of carlanton at google.com)

In the example provided, a contenteditable div is enclosed into a bigger size div. If the enclosing div doesn't fit into the view, typing Return when the caret has reached the bottom of the inner div scrolls the latter to put the caret into the center of the view.

If the window is tall enough to fit the outer div, then hitting Return at the bottom line doesn't jump-scroll. It only happens if window height is less than outer div height. And even in this case, once you inflate the inner div to fill the height of the outer div by inserting enough lines of text, jump-scrolling ceases to happen.

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