Summary: DetailsSection should hide header "options" when collapsed. The current behavior is mixed, and not controlled by DetailsSection. In some cases options are hidden: - Computed Styles panel: "Show All" checkbox - Visual Styles panel: "Add Style Rule" button - Node panel: Event Listeners "Grouping Method" button and in other, they are always shown: - Debugger sidebar: Pause Reason go-to arrow* - Debugger sidebar: "Add XHR Breakpoint" button - Probes - Watch Expressions *This is the only case where an exception makes sense to me, since the command doesn't modify the contents of the DetailsSection.
Created attachment 305234 [details] Patch
This change came about after noticing that adding an XHR Breakpoint while the section is collapsed is confusing. Initially I considered expanding the section if a breakpoint is added by the user clicking the "+" button, but decided against it.
Comment on attachment 305234 [details] Patch Clearing flags on attachment: 305234 Committed r214843: <http://trac.webkit.org/changeset/214843>
All reviewed patches have been landed. Closing bug.