NEW 186280
Hiding many elements with opacity:0 is slower than hiding with visibility:hidden
https://bugs.webkit.org/show_bug.cgi?id=186280
Summary Hiding many elements with opacity:0 is slower than hiding with visibility:hidden
Jon Lee
Reported 2018-06-04 13:41:24 PDT
Hiding many elements with opacity:0 is slower than hiding with visibility:hidden
Attachments
Simon Fraser (smfr)
Comment 1 2018-06-04 13:47:22 PDT
It looks like we spend more time in RenderLayer::updateLayerPositionsAfterLayout() with opacity, presumably because we have a large RenderLayer tree and don’t short-circuit that part. With visibility:hidden we probably have a smaller layer tree.
Note You need to log in before you can comment on or make changes to this bug.