Giter Club home page Giter Club logo

Comments (7)

noamr avatar noamr commented on August 11, 2024 1

The flow goes like this:

So in essence, activating the transition doesn't necessarily happen in "perform pending transition operations", so it won't be blocked by the suppression flag. The suprression is to freeze the rendering while the new state is updating during the course of the author provided update callback.

Happy to discuss/clarify this further.

from html.

nt1m avatar nt1m commented on August 11, 2024

cc @khushalsagar @vmpstr

from html.

nt1m avatar nt1m commented on August 11, 2024

Tangentially related concern from @mattwoodrow :

Might be worth some more spec clarification though, since it clearly asks for a 'live' snapshot, but also is suggesting that we'd block animations from running. It seems somewhat weird to me that using JS to edit styles while a VT is running would show up, but using a transition/animation (outside of the VT animation that is) would not.

from html.

nt1m avatar nt1m commented on August 11, 2024

cc @noamr @bokand

from html.

nt1m avatar nt1m commented on August 11, 2024

Ah thanks. I think confusion came from the fact that the first definition you see in the CSS spec for "rendering suppression for view transitions" mentions redirecting hit-testing, which I (sensibly?) assumed would be done the duration of the whole view transition.

Perhaps the concept could be renamed to detail more precisely why rendering is being suppressed in the context of VT

from html.

nt1m avatar nt1m commented on August 11, 2024

@noamr @khushalsagar What is this rendering suppression supposed to avoid?

from html.

khushalsagar avatar khushalsagar commented on August 11, 2024

It ensures the browser is not rendering frames while the author is asynchronously updating the DOM to the new state.

from html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.