- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Sep 2018 16:52:07 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Specificity of :host, ::slotted, and :host-context doesn't seem to be defined?`, and agreed to the following: * `RESOLVED: Specificity of :host() is 1 pseudoclass + specificity of argument. (Not just specificity of argument.)` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Specificity of :host, ::slotted, and :host-context doesn't seem to be defined?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/1915<br> <dael> emilio: We resolved on :host and ::slotted for specificity of inner selector. Should :host account for own specificity? There's incompat. Should :host* be same as :host-context*?<br> <emilio> s/:host-context*/:host(*)<br> <dael> Rossen_: Does anyone have an opinion?<br> <fantasai> Quesiton was whether :host(*) should be the same as :host<br> <dael> emilio: Should specificity of functiona host selector be only the selector or selector+pseudo class for specificity. I think 2nd. That is consistent and increases specificity of the selector.<br> <fantasai> s/:host/*:host/<br> <dael> TabAtkins: This is inconsistent with :matches, but host on its own just making a * argument should be 0 makes me lean toward your argument.<br> <dael> emilio: Works great<br> <dael> Rossen_: Other opinions?<br> <bkardell_> that's a new precident right?<br> <fantasai> fantasai: +1 from me<br> <dael> Rossen_: Objections?<br> <bkardell_> nothing else works like that I think?<br> <TabAtkins> bkardell_: Yeah, new precedent, kinda sorta.<br> <dael> bkardell_: It's the only decision that makes sense, but it's new. NOthing else works this way today.<br> <dael> emilio: Yeah, don't have many psuedo classes with selector arguments.<br> <bkardell_> +1<br> <bkardell_> it makes sense<br> <dael> Rossen_: Makes sense as a pattern going forward.<br> <TabAtkins> I mean, :matches()/:not() mean *absolutely nothing* absent their selector; there's nothing there otherwise. :host *does* affirmatively select an element all by itself, and then the selector narrows it down.<br> <TabAtkins> Proposed resolution: specificity of :host() is 1 pseudoclass + specificity of argument. (Not just specificity of argument.)<br> <dael> RESOLVED: Specificity of :host() is 1 pseudoclass + specificity of argument. (Not just specificity of argument.)<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1915#issuecomment-424790398 using your GitHub account
Received on Wednesday, 26 September 2018 16:52:09 UTC