[Webkit-unassigned] [Bug 189907] New: Make Element.scrollIntoView properly work with nested scroll boxes and smooth behavior
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 23 21:40:30 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189907
Bug ID: 189907
Summary: Make Element.scrollIntoView properly work with nested
scroll boxes and smooth behavior
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
URL: https://drafts.csswg.org/cssom-view/#scroll-an-element
-into-view
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Event Handling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: simon.fraser at apple.com
Depends on: 188043
Follow-up of bug 188043. This might need a bit more work so I'm moving that part out of the main bug.
Basically, the patch in bug 188043 naively follows https://drafts.csswg.org/cssom-view/#scroll-an-element-into-view but does not wait for smooth scroll of step 12 to complete, possibly resulting in wrong final positions. It's not clear we actually want to align on the current spec anyway, Gecko and Chromium use different algorithm. For details, see https://github.com/w3c/csswg-drafts/issues/3127
The WPT test for this is http://w3c-test.org/css/cssom-view/scroll-behavior-scrollintoview-nested.html
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=188043
[Bug 188043] Add support for ScrollOptions' ScrollBehavior and CSS scroll-behavior properties
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180924/e99768f5/attachment.html>
More information about the webkit-unassigned
mailing list