Summary: | Rewrite fast/events/scroll-in-scaled-page-with-overflow-hidden.html to conform with CSSOM View | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||
Component: | Tools / Tests | Assignee: | Frédéric Wang (:fredw) <fred.wang> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, lforschler, simon.fraser, tonikitoo, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 5991, 182230 | ||||||
Attachments: |
|
Description
Frédéric Wang (:fredw)
2018-01-30 05:33:40 PST
Created attachment 332752 [details]
Patch
(In reply to Frédéric Wang (:fredw) from comment #0) > Instead, the > corresponding Chromium test [3] relies on internals.visualViewportScrollY(). So it looks like internals.visualViewportRect().y would work too, but I've simply used window.scrollY which is what document.body.scrollTop is supposed to return when the body is not potentially scrollable: https://drafts.csswg.org/cssom-view/#dom-element-scrolltop Committed r227962: <https://trac.webkit.org/changeset/227962> |