<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>308565</bug_id>
          
          <creation_ts>2026-02-24 11:28:43 -0800</creation_ts>
          <short_desc>[LBSE] Make layer creation conditional for SVG renderers</short_desc>
          <delta_ts>2026-04-30 16:00:47 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>SVG</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>313785</dependson>
    
    <dependson>313780</dependson>
    
    <dependson>313781</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolas Zimmermann">zimmermann</reporter>
          <assigned_to name="Nikolas Zimmermann">zimmermann</assigned_to>
          <cc>rbuis</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2184493</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-02-24 11:28:43 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2184499</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-02-24 11:40:52 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59346</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186615</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-03-03 11:29:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/171644876&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191514</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-03-18 16:49:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/60897</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>