<?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>98734</bug_id>
          
          <creation_ts>2012-10-09 02:31:27 -0700</creation_ts>
          <short_desc>enclosingLayer() walks the entire parent chain, making it slow for deep trees</short_desc>
          <delta_ts>2012-10-31 08:28:12 -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>Layout and Rendering</component>
          <version>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>98798</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jamesr</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>737589</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-10-09 02:31:27 -0700</bug_when>
    <thetext>enclosingLayer() walks the entire parent chain, making it slow for deep trees

It makes repaint/layout samples account for about 30% of:
http://www.robohornet.org/tests/descendantselector.html

(which I&apos;m not suggesting is either a good or bad benchmark, merely one which triggers this condition.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>737913</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-10-09 10:21:57 -0700</bug_when>
    <thetext>I assume you mean &quot;slow for deep, layer-sparse trees&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739133</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-10-10 11:03:21 -0700</bug_when>
    <thetext>Yes, deep, layer-sparse. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>