Re: [csswg-drafts] [css-scoping-1] Specificity of :host and :host-context doesn't seem to be defined?

Having the same specificity for the two rules below sounds unfortunate to me as I can imagine you'd want to do host overrides on classes/attributes on the host element, but I don't know to what degree it's used in practice:

:host(.pink) { color: pink }
:host { color: green }

GitHub Notification of comment by lilles
Please view or discuss this issue at using your GitHub account

Received on Thursday, 14 December 2017 09:38:31 UTC