Re: [csswg-drafts] [css-view-transitions-2] Script event on old Document for cross-document ViewTransitions (#8785)

> * You're using script events to add names to inline style (that case you mentioned). You can use `pageHide` to reset names when the Document enters BFCache or `reveal` when it is restored. This means you'll have to track which elements are currently tagged.

Yes, I know this is possible, I meant that it creates a "gotcha" because you have to remember to clear names you set on this event.

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


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

Received on Friday, 17 November 2023 19:02:37 UTC