<?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>15476</bug_id>
          
          <creation_ts>2007-10-12 07:59:19 -0700</creation_ts>
          <short_desc>DOM tree fully expands some elements when arrowing up</short_desc>
          <delta_ts>2007-10-24 11:52:43 -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>Web Inspector (Deprecated)</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Hayes">heizusan</reporter>
          <assigned_to name="Timothy Hatcher">timothy</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58371</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Hayes">heizusan</who>
    <bug_when>2007-10-12 07:59:19 -0700</bug_when>
    <thetext>When using the web inspector, and viewing the render tree, if I use the arrow keys to scroll down, the inspector moves from element to element without expanding (from one tr to the next in a table, unless the first tr is expanded).

But, if I scroll up using the arrow keys, the inspector expands every element automatically, taking me to the deepest nested element that comes next in the list.  This is not helpful when trying to find a particular element in a level of the render tree (e.g. finding which table in a list of tables is pushing a site wide).

Perhaps this behavior has a use, but I find it inconsistent and disruptive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58373</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Hayes">heizusan</who>
    <bug_when>2007-10-12 08:23:31 -0700</bug_when>
    <thetext>I didn&apos;t notice this distinction before: it only happens when scrolling up from one element to a deeper nested element.  So if you scroll up from a tr, into an already expanded tr (and onto a td), it will recursively expand the last td in the new tr as far as it can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58674</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2007-10-16 13:26:23 -0700</bug_when>
    <thetext>I have seen this before and was the one to introduce the bug. This is the desired behavior for the sidebar list and the search results, but not for the DOM. We need to make this an optional behavior in the TreeOutline class.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59355</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2007-10-24 11:52:43 -0700</bug_when>
    <thetext>Fixed in r26997. http://trac.webkit.org/projects/webkit/changeset/26997</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>