You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass=".row"><div><my-elem><div>DIV!</div><main>MAIN!</main><aside>ASIDE!</aside></my-elem></div><div><divclass=".row"><my-elem><div>DIV!</div><!-- Only this element --><main>MAIN!</main><aside>ASIDE!</aside></my-elem><div><my-elem><div>DIV!</div><main>MAIN!</main><aside>ASIDE!</aside></my-elem>
This doesn't seem possible, because > at the end of the selector is not valid.
There is a reason for this? If so, how can I do without?
The text was updated successfully, but these errors were encountered:
This is currently intentionally impossible - the :host-context() selector only takes a compound selector (only evaluating on one element, with no combinators), to make it faster and easier to evaluate, as :host-context() is already somewhat expensive to do correctly.
I have a custom element
<my-elem>
and I would like only the one whose parent with classrow
to be affected:This doesn't seem possible, because
>
at the end of the selector is not valid.There is a reason for this? If so, how can I do without?
The text was updated successfully, but these errors were encountered: