RESOLVED FIXED 192201
Overflow scrolling layers need to be self-painting
https://bugs.webkit.org/show_bug.cgi?id=192201
Summary Overflow scrolling layers need to be self-painting
Simon Fraser (smfr)
Reported 2018-11-29 16:50:52 PST
Overflow scrolling layers need to be self-painting
Attachments
Patch (4.64 KB, patch)
2018-11-29 16:52 PST, Simon Fraser (smfr)
dino: review+
Simon Fraser (smfr)
Comment 1 2018-11-29 16:52:24 PST
Radar WebKit Bug Importer
Comment 2 2018-11-29 16:53:22 PST
Simon Fraser (smfr)
Comment 3 2018-11-29 16:54:34 PST
Depends on a previous patch.
Simon Fraser (smfr)
Comment 4 2018-11-29 19:48:34 PST
Ali Juma
Comment 5 2018-11-30 07:12:09 PST
(In reply to Simon Fraser (smfr) from comment #0) > Overflow scrolling layers need to be self-painting Won't this change paint order for those overflow scrollers that didn't get self-painting layers before? (Since instead of being painted when other in-flow elements are painted they'll now get painted with other self-painting layers.)
Truitt Savell
Comment 6 2018-11-30 09:08:32 PST
The new test added in https://trac.webkit.org/changeset/238725/webkit compositing/scrolling/overflow-scrolling-layers-are-self-painting.html is failing Diff: --- /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test-results/compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt +++ /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test-results/compositing/scrolling/overflow-scrolling-layers-are-self-painting-actual.txt @@ -14,11 +14,11 @@ (GraphicsLayer (offsetFromRenderer width=-1 height=-1) (position 1.00 1.00) - (bounds 285.00 285.00) + (bounds 300.00 300.00) (children 1 (GraphicsLayer (offsetFromRenderer width=1 height=1) - (bounds 285.00 2000.00) + (bounds 300.00 2000.00) ) ) ) History: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=compositing%2Fscrolling%2Foverflow-scrolling-layers-are-self-painting.html
Simon Fraser (smfr)
Comment 7 2018-11-30 10:16:25 PST
Test needs iOS results (though I could have sworn I ran the test for iOS before landing). (In reply to Ali Juma from comment #5) > (In reply to Simon Fraser (smfr) from comment #0) > > Overflow scrolling layers need to be self-painting > > Won't this change paint order for those overflow scrollers that didn't get > self-painting layers before? (Since instead of being painted when other > in-flow elements are painted they'll now get painted with other > self-painting layers.) Yes, but I'm not sure we have a choice. We do the same for things like video and canvas, and it hasn't been a problem.
Truitt Savell
Comment 8 2018-11-30 16:41:35 PST
added iOS specific expectations in https://trac.webkit.org/changeset/238765/webkit
Note You need to log in before you can comment on or make changes to this bug.