WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 15476
DOM tree fully expands some elements when arrowing up
https://bugs.webkit.org/show_bug.cgi?id=15476
Summary
DOM tree fully expands some elements when arrowing up
Chris Hayes
Reported
2007-10-12 07:59:19 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Hayes
Comment 1
2007-10-12 08:23:31 PDT
I didn'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.
Timothy Hatcher
Comment 2
2007-10-16 13:26:23 PDT
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.
Timothy Hatcher
Comment 3
2007-10-24 11:52:43 PDT
Fixed in
r26997
.
http://trac.webkit.org/projects/webkit/changeset/26997
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug