[Webkit-unassigned] [Bug 182287] New: Rewrite fast/events/scroll-in-scaled-page-with-overflow-hidden.html to conform with CSSOM View
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 30 05:33:40 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182287
Bug ID: 182287
Summary: Rewrite
fast/events/scroll-in-scaled-page-with-overflow-hidden
.html to conform with CSSOM View
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: lforschler at apple.com
Blocks: 5991
fast/events/scroll-in-scaled-page-with-overflow-hidden.html uses document.body.scrollTop to retrieve the vertical scroll offset of the viewport. This currently works because WebKit does not follow the CSSOM View spec (bug 5991). However, when CSSOMViewScrollingAPI is enabled, the HTML body is potentially scrollable (html, body have overflow: hidden see [1]) so document.body.scrollTop does not return the scroll offset [2]. Instead, the corresponding Chromium test [3] relies on internals.visualViewportScrollY().
[1] https://drafts.csswg.org/cssom-view/#potentially-scrollable
[2] https://drafts.csswg.org/cssom-view/#dom-element-scrolltop
[3] https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html?q=scroll-in-scaled-page-with-overflow-hidden.html&sq=package:chromium&dr
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=5991
[Bug 5991] [CSSOM View] Implement standard behavior for scroll(Left/Top/Width/Height/To/By/ingElement)
--
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/20180130/a0040e65/attachment.html>
More information about the webkit-unassigned
mailing list