Class Hierarchy

Overview

Class Hierarchy

DOM elements & Renderers

Scrollable Areas

Scrolling Nodes

A RenderLayer creates a RenderLayerBacking if RenderLayerCompositor::needsToBeComposited(layer) returns true. This relies on RenderLayerCompositor::requiresCompositingLayer and (for iframe) on RenderLayerCompositor::requiresCompositingForFrame.

The following backtrace is executed to make a layer scrollable:

      RenderLayerCompositor::updateScrollCoordinatedLayer(RenderLayer& layer, LayerScrollCoordinationRoles reasons)
      RenderLayerCompositor::updateScrollCoordinatedStatus(RenderLayer& layer)
      RenderLayerCompositor::didAddScrollingLayer(RenderLayer& layer)
      RenderLayerBacking::updateScrollingLayers(bool needsScrollingLayers)
      RenderLayerBacking::updateConfiguration()
    

The conditions for requiring a scrolling layer is:

The reasons to update the scroll coordinated layer include: