Re: [csswg-drafts] [css-view-transitions] [cssom] Inheritance of non-existing pseudo-elements. (#13904)

Yes, you got it right.

(The issue, which Emilio referred to, is that while all of our *existing* nested pseudo-elements have a static, "known" structure and thus could, in theory, still inherit according to it, there's nothing stopping us from having a more dynamic structure that's not knowable without concrete styles. Like, a pseudo-element might exist under one parent or another based on styles in the grandparent; if the grandparent doesn't exist, we don't know which parent to inherit from. We'd prefer to not lock ourselves out of that possibility, so we just bail to the originating element instead now. Ultimately it's a bit of an error case, like querying the styles of a display:none element; it doesn't matter what we return, just that we return an interoperable answer.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13904#issuecomment-4909286468 using your GitHub account


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

Received on Tuesday, 7 July 2026 21:38:42 UTC