Bug 203497 - scrollIntoView doesn't work in the inline axis if the element is partially visible.
Summary: scrollIntoView doesn't work in the inline axis if the element is partially vi...
Status: RESOLVED DUPLICATE of bug 42593
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor
Depends on:
Blocks:
 
Reported: 2019-10-28 11:54 PDT by Emilio Cobos Álvarez (:emilio)
Modified: 2021-05-31 03:56 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2019-10-28 11:54:20 PDT
STR:

 * Open https://bugzilla.mozilla.org/attachment.cgi?id=9104711
 * Call `child.scrollIntoView()`.

Expected: Child is in view in both axes (i.e., a green square)

Actual: Child is only scrolled in the block axis.

Per https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview I think Firefox is right.

This is also https://bugs.chromium.org/p/chromium/issues/detail?id=916631, I think.
Comment 1 Martin Robinson 2021-05-31 03:56:09 PDT

*** This bug has been marked as a duplicate of bug 42593 ***