- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 Nov 2023 18:58:13 +0000
- To: public-css-archive@w3.org
> If after doing this the document is saved to BFCache and then restored, it would be restored with `thumbnail.style.viewTransitionName === "full-embed". Not sure if there is a way around this or if this should stop us from doing this, but wanted it to be documented. There's 2 modes with which authors can add names and both work with BFCache. - 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. - You're using script events or just CSS to tag names via type + active-view-transition. In this case the styles are automatically updated by the browser when the Document enters BFCache. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8785#issuecomment-1816934667 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 18:58:15 UTC