[csswg-drafts] `::selection`, `::target-text`, `::highlight`, `::spelling-error`, `::grammar-error` style should propagate across shadow boundaries (#12497)

mantou132 has just created a new issue for https://github.com/w3c/csswg-drafts:

== `::selection`, `::target-text`, `::highlight`, `::spelling-error`, `::grammar-error` style should propagate across shadow boundaries ==
Custom elements within the page should inherit the document's `::selection`, `::target-text`, `::highlight`, `::spelling-error`, `::grammar-error` style by default, otherwise each custom element needs to be inherited manually.

Chrome current inherit: https://issues.chromium.org/issues/381335069
Firefox not inherit: https://bugzilla.mozilla.org/show_bug.cgi?id=1868009



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12497 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 July 2025 03:32:52 UTC