Bug 203497
Summary: | scrollIntoView doesn't work in the inline axis if the element is partially visible. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Emilio Cobos Álvarez (:emilio) <emilio> |
Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mrobinson, simon.fraser |
Priority: | P2 | Keywords: | FromImplementor |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Emilio Cobos Álvarez (:emilio)
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Martin Robinson
*** This bug has been marked as a duplicate of bug 42593 ***