Bug 34993 - Web Inspector: not updating the elements attributes when it's opened
Summary: Web Inspector: not updating the elements attributes when it's opened
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Major
Assignee: Nobody
URL: http://tapbots.com/software/pastebot/...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-16 13:55 PST by Alberto Calvo
Modified: 2014-12-15 23:23 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Calvo 2010-02-16 13:55:22 PST
Hi there.

Just found a bug on the Inspector, when I was complaining about the lack of this feature. Tim Hatcher pointed me that Inspector should update the tree, but it doesn't. Not when the Inspector is opened but when it's closed. In example, you toggle a div's display mode via JS. The tree doesn't update the inline styles if the Inspector is opened. However, if it's closed, it updates normally. Both latest nightly and Safari 4.0.4.

You could check it out on the URL I pointed out, triggering the Demo Video.

Also, it would be nice to add some highlighting on this dynamic changes a-la Firebug (I guess I should open another ticket for this).

Cheers,
Alberto
Comment 1 Pavel Feldman 2010-02-16 15:53:12 PST
Could you please provide more details? I am interested in exact scenario, div you are talking about, expected style values before / after the action and the actual ones. Are you saying div's attribute is not getting updated?
Comment 2 Alberto Calvo 2010-02-17 13:43:55 PST
Yes, <div id="video-container" style="visibility: hidden; zoom: 1; opacity: 1; "> doesn't get updated when you click on "Watch the video", while it triggers visibility to visible. Same for any other similar tests I did with other pages/situations.
Comment 3 Anthony Ricaud 2010-03-18 08:25:44 PDT
Updating attributes was introduced in http://trac.webkit.org/changeset/53232 via https://bugs.webkit.org/show_bug.cgi?id=20162.
Comment 4 Anthony Ricaud 2010-03-18 08:35:29 PDT
Doesn't work in nightly 53415 from January 18th.
Comment 5 Anthony Ricaud 2010-04-12 16:38:47 PDT
This regressed with bug 33915.