Fix behavior of the Element View of the Web Inspector for double clicking the element outline tree. Double clicking the element outline tree should 1) on attribute: enter attribute editing mode 2) on text: enter text editing mode 3) otherwise: change root node to the parent element of double clicked element. Now, 3) is broken. For example, clicking <html> clears the element outline view. rootDOMNode should be updated to this.representedObject.parentNode, not this.parent.representedObject which is parent inside the element outline tree itself.
Created attachment 30665 [details] Proposed fix for 26018
Comment on attachment 30665 [details] Proposed fix for 26018 r=me
Thank you for review. Could you please land this? I don't have commit access.
Assign to levin for landing.
Committed as http://trac.webkit.org/changeset/44280
Thank you all for reviewing and landing.