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
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?
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.
Updating attributes was introduced in http://trac.webkit.org/changeset/53232 via https://bugs.webkit.org/show_bug.cgi?id=20162.
Doesn't work in nightly 53415 from January 18th.
This regressed with bug 33915.