- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 30 Oct 2024 16:00:00 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-view-transitions-2] Optionally capture some properties (e.g. opacity/border) as style instead of snapshot`. <details><summary>The full IRC log of that discussion</summary> <bramus> noamr: talked about capturing snapshots not flat but to also capture borders, shadows, opacity, etc<br> <bramus> … had homework to figure out the exact way of how this would work and do some compat analysis<br> <bramus> … have done both to an extent<br> <noamr> https://github.com/WICG/view-transitions/blob/main/nested-explainer.md#layered-capture<br> <bramus> … wrote an explainer for this<br> <bramus> … main question is if this is a net improvement to capturing elements layered or not?<br> <bramus> … only works when elements are superimposed on eachother in a way, like cross-fade morphs the animation<br> <bramus> … many people use slide animations, like a header sliding offscreen<br> <bramus> … when authors do that, capturing the borders separately creates a different effect<br> <bramus> … backwards compat it wouldnt affect hat many peole right now, but those that are affected are affected in a big way<br> <bramus> … want to get attention to the explainer<br> <bramus> … there are afew optoins:<br> <bramus> … make it an opt-in<br> <bramus> … or create an extra pseudo for the geometry animation<br> <khush> q+<br> <bramus> … it does create more things to think about it, but nice thing about that it is that it does what it does today<br> <bramus> … you need to only style it if you want to<br> <bramus> … third option is to have no opt-in and have authors opt-out by containment thorugh adding an extra container element<br> <bramus> … not looking for a resolution now<br> <astearns> ack khush<br> <bramus> khush: +1 to what noam said<br> <bramus> … am pretty convinced that original capture way might have been a mistake.<br> <bramus> … noam dug up styles that authors used to customize animatoins and have found slight animations that were set up<br> <bramus> … if you have two things<br> <bramus> … where the whole bg changes you dont want those to fade but just want the slide effect<br> <bramus> … dont want to break those<br> <bramus> … especially on the root level<br> <bramus> … also dont want authors to have to create a wrapper around the content int root to fix that<br> <bramus> … could maybe resolve that both these modes should exist<br> <bramus> … how to select one or the other can be decided later<br> <bramus> bramus: +1 on both modes being valuable<br> <bramus> a+<br> <bramus> q+<br> <bramus> astearns: need to read explainer a bit more. wrapper made sense until khushals argument<br> <bramus> noamr: should generally avoid people to change their dom for style purposes<br> <bramus> bramus: +1<br> <astearns> ack bramus<br> <bramus> bramus: can the extra speudo give a perf benefit?<br> <bramus> noamr: not really. think of border animating<br> <bramus> … I encourage ppl to look at the explainer<br> <bramus> … especially the geometry part, because we copy over the box mode<br> <bramus> s/mode/model<br> <bramus> … also scrollbars and stuff<br> <bramus> … food for a next meeting<br> <bramus> astearns:thanks for the summary and explainer. its great to have<br> <bramus> … will summarize the breakout to the www-style list and set up async resolutions and point people to the explainer<br> <bramus> … gonna wrap up<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10585#issuecomment-2447637098 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 30 October 2024 16:00:02 UTC