[Webkit-unassigned] [Bug 161611] Support ScrollIntoViewOptions for Element.scrollIntoView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 26 06:49:15 PDT 2018


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

--- Comment #5 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Justin Mecham from comment #2)
> (In reply to comment #1)
> > *** Bug 167336 has been marked as a duplicate of this bug. ***
> 
> I'm not certain this is a duplicate, although implementation of this bug
> (161611) would also allow the `scroll-behavior` CSS to be implemented. My
> apologies for filing a separate issue if this was understood.

I personally don't think it was a duplicate. The `scroll-behavior` and ScrollBehavior could probably be implemented independently but it makes sense to do them together, given that the hard part is really doing smooth scrolling, not parsing new CSS properties or DOM parameter. I opened a separate bug 188043 for that.

ScrollIntoViewOptions has some ScrollLogicalPosition parameters to specify alignments, which I think can be implemented here independently of the scroll behavior feature (and vice-versa), similarly to what was done in bug 161610 for ScrollToOptions.

-- 
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/20180726/5e07e809/attachment.html>


More information about the webkit-unassigned mailing list