Apply hidden to host as well

Currently its only matching `[hidden]` within host but not on host.

Change-Id: Idcdd4992272c71dd0e628237e87e25cc4c57f78c
This commit is contained in:
Tao Zhou
2020-09-09 16:29:41 +02:00
parent f65be32dfe
commit f548764cb4

View File

@@ -135,6 +135,7 @@ $_documentContainer.innerHTML = `<dom-module id="shared-styles">
/* Stopgap solution until we remove hidden$ attributes. */
:host[hidden],
[hidden] {
display: none !important;
}