Patch to follow.
Created attachment 130601 [details] Patch
Comment on attachment 130601 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130601&action=review > Source/WebCore/inspector/front-end/StylesSidebarPane.js:980 > + selectorContainer.addEventListener("mousedown", this._handleEmptySpaceMouseDown.bind(this), false); We have the same problem for each rule element also. > Source/WebCore/inspector/front-end/StylesSidebarPane.js:1181 > + var willCauseCancelEditing = this._willCauseCancelEditing; Could you please extract this method?
Created attachment 130621 [details] Patch
Comment on attachment 130621 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130621&action=review > Source/WebCore/inspector/front-end/StylesSidebarPane.js:2031 > + if (this.section._checkWillCancelEditing()) Consider renaming _startEditing to _mouseClicked.
Committed r110278: <http://trac.webkit.org/changeset/110278>