[Webkit-unassigned] [Bug 143609] New: Consider implementing Document.scrollingElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 10 09:09:54 PDT 2015


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

            Bug ID: 143609
           Summary: Consider implementing Document.scrollingElement
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rbyers at chromium.org

Document.scrollingElement would always return 'body' in WebKit's (non-spec-compliant) implementation, until bug 106133 is fixed.  Today some frameworks are forced to rely on a UA check to try to predict this behavior.  Document.scrollingElement is designed to be a trivial API for the engine to tell JS exactly which element (body or documentElement) it considers to be the one that scrolls the viewport.

See http://dev.w3.org/csswg/cssom-view/#dom-document-scrollingelement
And https://lists.w3.org/Archives/Public/www-style/2015Apr/0108.html

We're planning on shipping this API in blink ASAP to help ease the transition to spec-compliant scrollTop/scrollLeft behavior (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/mJ5SlCj3CHc).  However we'd like some feedback from other vendors before we do so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150410/5c979da6/attachment.html>


More information about the webkit-unassigned mailing list