Bug 164495 - Implement visual-viewport based position:fixed handling for Mac async scrolling
Summary: Implement visual-viewport based position:fixed handling for Mac async scrolling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks: 164260
  Show dependency treegraph
 
Reported: 2016-11-07 16:28 PST by Simon Fraser (smfr)
Modified: 2016-11-14 21:42 PST (History)
11 users (show)

See Also:


Attachments
Patch (89.49 KB, patch)
2016-11-07 16:44 PST, Simon Fraser (smfr)
thorton: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1.60 MB, application/zip)
2016-11-07 17:43 PST, Build Bot
no flags Details
Patch (89.64 KB, patch)
2016-11-09 15:04 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-11-07 16:28:23 PST
Implement visual-viewport based position:fixed handling for Mac async scrolling
Comment 1 Simon Fraser (smfr) 2016-11-07 16:44:43 PST
Created attachment 294101 [details]
Patch
Comment 2 Tim Horton 2016-11-07 17:05:32 PST
Comment on attachment 294101 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=294101&action=review

> Source/WebCore/page/FrameView.cpp:1880
> +    visibleContentRect.scale(1 / frameScaleFactor()); // Note thate frameScaleFactor() returns 1 for delegated scrolling (e.g. iOS WK2)

thate!

> Source/WebCore/page/FrameView.h:256
> +        Yes,

Yes is 0 and No is 1?

> Source/WebCore/page/scrolling/ScrollingTreeFrameScrollingNode.cpp:107
> +    visibleContentSize.scale(1 / scale); // GROSS.

So is the comment.

> Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp:112
> +    // FIXME: do we need to calculate a layoutViewport?

Do we?
Comment 3 Build Bot 2016-11-07 17:43:34 PST
Comment on attachment 294101 [details]
Patch

Attachment 294101 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/2470478

New failing tests:
tiled-drawing/scrolling/fixed/remove-scrolling-role.html
Comment 4 Build Bot 2016-11-07 17:43:38 PST
Created attachment 294108 [details]
Archive of layout-test-results from ews104 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 5 Simon Fraser (smfr) 2016-11-09 15:04:47 PST
Created attachment 294297 [details]
Patch
Comment 6 Simon Fraser (smfr) 2016-11-09 15:46:57 PST
https://trac.webkit.org/changeset/208503