Bug 308565

Summary: [LBSE] Make layer creation conditional for SVG renderers
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: NEW    
Severity: Normal CC: rbuis, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 313785, 313780, 313781    
Bug Blocks:    

Nikolas Zimmermann
Reported 2026-02-24 11:28:43 PST
Previously, every LBSE SVG renderer unconditionally created a RenderLayer because requiresLayer() always returned true. This was a temporary simplification during early LBSE development that ensured correct painting by letting the layer tree handle all child ordering, but it imposed significant overhead by allocating layers for elements that do not need them.
Attachments
Nikolas Zimmermann
Comment 1 2026-02-24 11:40:52 PST
Radar WebKit Bug Importer
Comment 2 2026-03-03 11:29:12 PST
Nikolas Zimmermann
Comment 3 2026-03-18 16:49:02 PDT
Note You need to log in before you can comment on or make changes to this bug.