RESOLVED FIXED 161981
Cleanup RenderLayer::shouldBeNormalFlowOnly
https://bugs.webkit.org/show_bug.cgi?id=161981
Summary Cleanup RenderLayer::shouldBeNormalFlowOnly
zalan
Reported 2016-09-14 12:52:42 PDT
return (renderer().hasOverflowClip() || renderer().hasReflection() || renderer().hasMask() || renderer().isCanvas() || renderer().isVideo() || renderer().isEmbeddedObject() || renderer().isRenderIFrame() || (renderer().style().specifiesColumns() && !isRootLayer()) || renderer().isInFlowRenderFlowThread()) && !renderer().hasTransformRelatedProperty() && !renderer().isPositioned() && !needsCompositedScrolling() && !renderer().style().hasFlowFrom() ^^ makes it a bit unclear what triggers normal flow only layer.
Attachments
Patch (10.15 KB, patch)
2016-09-14 13:20 PDT, zalan
no flags
Archive of layout-test-results from ews121 for ios-simulator-elcapitan-wk2 (deleted)
2016-09-14 14:14 PDT, Build Bot
no flags
Patch (12.05 KB, patch)
2016-09-14 20:33 PDT, zalan
no flags
Archive of layout-test-results from ews103 for mac-yosemite (986.62 KB, application/zip)
2016-09-14 21:27 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-yosemite-wk2 (1.02 MB, application/zip)
2016-09-14 21:31 PDT, Build Bot
no flags
Archive of layout-test-results from ews112 for mac-yosemite (1.49 MB, application/zip)
2016-09-14 21:35 PDT, Build Bot
no flags
Patch (12.05 KB, patch)
2016-09-14 22:17 PDT, zalan
no flags
Patch (12.05 KB, patch)
2016-09-15 08:30 PDT, zalan
no flags
zalan
Comment 1 2016-09-14 13:20:37 PDT
Simon Fraser (smfr)
Comment 2 2016-09-14 13:27:05 PDT
Comment on attachment 288848 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=288848&action=review > Source/WebCore/rendering/RenderLayer.cpp:6492 > + || mayCreateGraphicalGroup(renderer); I think this needs to check willChange()->canCreateStackingContext() but you'll do this in a later patch. Maybe add a FIXME comment. > Source/WebCore/rendering/RenderLayer.cpp:6517 > || needsCompositedScrolling() > || isolatesBlending() > || renderer().hasReflection() I think these tree are redundant since createsStackingContext() checks them.
Build Bot
Comment 3 2016-09-14 14:14:15 PDT
Comment on attachment 288848 [details] Patch Attachment 288848 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2074053 New failing tests: media/audio-repaint.html
Build Bot
Comment 4 2016-09-14 14:14:18 PDT
Created attachment 288856 [details] Archive of layout-test-results from ews121 for ios-simulator-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-elcapitan-wk2 Platform: Mac OS X 10.11.6
zalan
Comment 5 2016-09-14 20:33:23 PDT
Build Bot
Comment 6 2016-09-14 21:27:17 PDT
Comment on attachment 288922 [details] Patch Attachment 288922 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2076737 New failing tests: compositing/overflow/composited-scrolling-creates-a-stacking-container.html compositing/overflow/automatically-opt-into-composited-scrolling.html
Build Bot
Comment 7 2016-09-14 21:27:19 PDT
Created attachment 288924 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 8 2016-09-14 21:31:24 PDT
Comment on attachment 288922 [details] Patch Attachment 288922 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2076744 New failing tests: compositing/overflow/composited-scrolling-creates-a-stacking-container.html compositing/overflow/automatically-opt-into-composited-scrolling.html
Build Bot
Comment 9 2016-09-14 21:31:26 PDT
Created attachment 288925 [details] Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 10 2016-09-14 21:34:57 PDT
Comment on attachment 288922 [details] Patch Attachment 288922 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2076745 New failing tests: compositing/overflow/composited-scrolling-creates-a-stacking-container.html compositing/overflow/automatically-opt-into-composited-scrolling.html
Build Bot
Comment 11 2016-09-14 21:35:00 PDT
Created attachment 288926 [details] Archive of layout-test-results from ews112 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-yosemite Platform: Mac OS X 10.10.5
zalan
Comment 12 2016-09-14 22:17:41 PDT
zalan
Comment 13 2016-09-15 08:30:00 PDT
WebKit Commit Bot
Comment 14 2016-09-15 08:44:56 PDT
Comment on attachment 288953 [details] Patch Clearing flags on attachment: 288953 Committed r205970: <http://trac.webkit.org/changeset/205970>
WebKit Commit Bot
Comment 15 2016-09-15 08:45:00 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.