When classes in the DOM change, the Web Inspector doesn't refresh to reflect the changes. You have to manually refresh the view of the DOM tree in the Inspector in order to see the changes.
Tested in both latest WebKit Nightly and Safari 4.
Created attachment 29350 [details]
Dupe of bug 20162.
*** This bug has been marked as a duplicate of 20162 ***