Also fixes few nits: - We no longer populate search field with the class name upon click on the selector. Rationale: selector text can't be usually found using plain text matching (comma separated values, ids, containment and such spoil it all and bring in confusion) - Sections are no longer collapsed upon href click - Breakpoints navigation is fixed
Created attachment 51411 [details] [PATCH] Proposed change.
Comment on attachment 51411 [details] [PATCH] Proposed change. > + var nodeClass = styleRule.node.getAttribute("class"); > + if (nodeClass) > + title += "." + nodeClass; > + var nodeId = styleRule.node.getAttribute("id"); > + if (nodeId) > + title += "#" + nodeId; We should make this a helper function, I think we do this in another place when making a new style rule and breadcrumbs.
Landed with comments addressed (new utility function in elements panel). Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/English.lproj/localizedStrings.js M WebCore/inspector/front-end/BreakpointsSidebarPane.js M WebCore/inspector/front-end/ElementsPanel.js M WebCore/inspector/front-end/StylesSidebarPane.js M WebCore/inspector/front-end/inspector.js Committed r56395