Re: [csswg-drafts] [css-view-transitions-2] Access to custom properties from within the pseudos (#11153)

> What happens if the old & new states have the same custom property with different values?

Good point. My initial thought on this was give the old snapshot access to the old element’s custom properties and the new snapshot access to the new element’s custom properties but that would be 1) very complicated and 2) wouldn’t cut it as you often want access to those custom properties from the group pseudo as well.

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


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

Received on Friday, 13 December 2024 13:58:36 UTC