It's confusing that this control requires the main content to have an explicit class or attribute, while the otherwise parallel core-header-panel has content select="*" for its main content area.
The way it's currently written (main content area defined first in the DOM), we can't use select="*". Could we get the same effect by using select=":not(core-toolbar):not(.core-header)"? Or would that be bad?
Good call. Initially :not was not supported in <content select= so we didn't use that. But now is supported in ShadowDom we should not need to require content attribute anymore.
It's confusing that this control requires the main content to have an explicit class or attribute, while the otherwise parallel core-header-panel has content select="*" for its main content area.
The way it's currently written (main content area defined first in the DOM), we can't use select="*". Could we get the same effect by using select=":not(core-toolbar):not(.core-header)"? Or would that be bad?
Related SO question: http://stackoverflow.com/questions/26522618/scroll-header-panel-inside-scaffold/26556766#26556766
Moved from Polymer/core-header-panel#18 (opened in wrong repo).