Bug 198294 - Use scroll-velocity-based tile coverage for overflow:scroll
Summary: Use scroll-velocity-based tile coverage for overflow:scroll
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: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-28 08:50 PDT by Simon Fraser (smfr)
Modified: 2019-05-28 18:07 PDT (History)
7 users (show)

See Also:


Attachments
Patch (22.82 KB, patch)
2019-05-28 08:50 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-highsierra (3.80 MB, application/zip)
2019-05-28 10:00 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (3.56 MB, application/zip)
2019-05-28 10:14 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews125 for ios-simulator-wk2 (9.66 MB, application/zip)
2019-05-28 10:35 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews113 for mac-highsierra (3.63 MB, application/zip)
2019-05-28 10:40 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews214 for win-future (13.55 MB, application/zip)
2019-05-28 10:53 PDT, EWS Watchlist
no flags Details
Patch (36.50 KB, patch)
2019-05-28 15:05 PDT, 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) 2019-05-28 08:50:04 PDT
Use scroll-velocity-based tile coverage for overflow:scroll
Comment 1 Simon Fraser (smfr) 2019-05-28 08:50:39 PDT
Created attachment 370746 [details]
Patch
Comment 2 EWS Watchlist 2019-05-28 08:52:22 PDT Comment hidden (obsolete)
Comment 3 EWS Watchlist 2019-05-28 10:00:51 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2019-05-28 10:00:52 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2019-05-28 10:14:34 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2019-05-28 10:14:35 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2019-05-28 10:35:50 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2019-05-28 10:35:52 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2019-05-28 10:40:48 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2019-05-28 10:40:50 PDT Comment hidden (obsolete)
Comment 11 EWS Watchlist 2019-05-28 10:53:35 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2019-05-28 10:53:38 PDT Comment hidden (obsolete)
Comment 13 Simon Fraser (smfr) 2019-05-28 15:05:17 PDT
Created attachment 370788 [details]
Patch
Comment 14 Simon Fraser (smfr) 2019-05-28 15:06:54 PDT
<rdar://problem/48942184>
Comment 15 EWS Watchlist 2019-05-28 15:06:55 PDT
Attachment 370788 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/ca/PlatformCALayer.h:102:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 1 in 15 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 16 Tim Horton 2019-05-28 15:23:23 PDT
Comment on attachment 370788 [details]
Patch

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

> Source/WebCore/platform/graphics/ca/TileController.cpp:433
> +    // FIXME: look at how far the document can scroll in each dimension.

Capital L :D

> Source/WebCore/platform/graphics/ca/TileController.cpp:455
> +    auto expandRectWithinRect = [](const FloatRect& rect, const FloatSize& newSize, const FloatRect& constrainingRect) {

Why this lambda? It's only called once and doesn't make use of early returns or anything.
Comment 17 WebKit Commit Bot 2019-05-28 18:07:10 PDT
Comment on attachment 370788 [details]
Patch

Clearing flags on attachment: 370788

Committed r245837: <https://trac.webkit.org/changeset/245837>
Comment 18 WebKit Commit Bot 2019-05-28 18:07:11 PDT
All reviewed patches have been landed.  Closing bug.