- From: Rune Lillesveen <notifications@github.com>
- Date: Wed, 29 Aug 2018 00:13:38 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 29 August 2018 07:14:00 UTC
I simply agree with @emilio in this regard. From a Blink implementation standpoint, :element() just adds complexity. You potentially have specificity issues (:element(myelement) vs :element([attr]), do we have the specificity of the selector inside the pseudo class?). I don't know to which extent :element() would be clearer for authors. We already have e.g. universal selectors in shadow tree stylesheets which only applies to elements inside that shadow tree. I don't know if universal selectors in a stylesheet only applying to a custom element is any different. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/468#issuecomment-416849721
Received on Wednesday, 29 August 2018 07:14:00 UTC