Re: [csswg-drafts] [css-view-transitions-1][cssom] Clarify how `getComputedStyle` should be have with view-transition pseudo-elements (#9880)

> What's the reasoning for this?
> 
> The difficulty here is that some of our view transition styles are conditional on the structure of the tree. For example, isolation is only set on the pair if it has two children. We can certainly just return _something_ if you ask for the style of the pair but there is no view transition or that particular pair doesn't exist, but the choice of what to return depends on what the use case for this is.

The reasoning is that in current scenarios `getComputedStyle` is just about style computation and not about finding out information about the state of the pseudo-element you're requesting the style for.

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


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

Received on Monday, 26 February 2024 21:14:47 UTC