From dce927183cfec31fe8ca32ac7d58544f5c669bf9 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 1 Oct 2026 13:19:35 +0800 Subject: vim-patch:43725ac: runtime(css): Add additional CSS pseudo-classes and functions (#42192) Problem: Other than `state()` these are widely supported CSS features Solution: Add :host, :host-context(), slotted(), and state() CSS pseudo-classes and functions (S0AndS0). Reference: - https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host - https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host_function - https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::slotted - https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:state TLDR: `host` and `host-context()` are useful for shadowDom stuff, `::slotted()` enables targeting elements passed/injected into a `