[Webkit-unassigned] [Bug 93238] New: css transitions for scrollTop and scrollLeft

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 02:23:42 PDT 2012


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

           Summary: css transitions for scrollTop and scrollLeft
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: giorgio.liscio at email.it


hi, I think that the css "transition" property can be also used for DOM values scrollTop and scrollLeft

I'm talking about animate, instead of a direct jump, when scrollTop or scrollLeft are set

(also should work with scrollIntoView() and focus())

in plus the "delay" and the "duration" properties may be used to customize the default "smooth scrolling" of the browser (if any)

IE

body
{
    /*means: animate .scrollLeft and .scrollTop */
    -webkit-transition-property:-webkit-scrolling;
    -webkit-transition-duration:0.5s;
    -webkit-transition-delay:0.1s;
    overflow:auto;
}

it is just an idea that may can be analyzed

change the scrollbar behavior may not be a good idea, but developers already use jquery or similar to do this, then a native solution isnt more dangerous as js frameworks are... on the contrary, can be more accessible and usable than a js framework solution

changing the mouse behavior is not very important, but animation for scrollTop, scrollLeft, scrollIntoView, focus may be really useful

what do you think about this?

(this request has been posted on the mozilla's bugtracker too)

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