The Styles sidebar should have a fallback in the case that there is no selected panel or for if that panel no longer exists.
Created attachment 258868 [details] Patch
Comment on attachment 258868 [details] Patch Clearing flags on attachment: 258868 Committed r188372: <http://trac.webkit.org/changeset/188372>
All reviewed patches have been landed. Closing bug.