> > On Thu, Sep 28, 2023 at 3:06 PM Sangwhan Moon <[email protected]> wrote: >> >>> This looks useful. >>> >>> Likely a quick review (I don't see why it would be contentious) so maybe >>> not a big deal, but any reason why there is no TAG review? >>> >> >> It was TAG-reviewed as part of CSS view transitions: >> https://github.com/w3ctag/design-reviews/issues/851 >> >> FYI - we had a quick debate amongst our team about whether that larger review was sufficient for this and decided to ask TAG whether they'd like us to file a separate review. If we do, I'll update the chromestatus entry.
This is exciting!! (also as a scheduling primitive - e.g. as a way to start > loading or executing certain scripts only after the first render) It's technically _before_ the first render so that the author can make modifications knowing they'll be displayed to the user ~immediately. > Are you planning to have the event first more or less at a similar time to > when first paint is reported? I'm guessing that we want that event to run > after rendering is kicked off (rather than have it delay the first render). > I believe it'll be before first paint since it's early in the "update the rendering <https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering>" steps of the spec and, IIRC, the paint-related metrics measure when pixels change on the display. We do actually want this to run _before_ rendering so that the event can affect the initial output. For example, to determine what kind of page the navigation is coming from and set up the appropriate CSS view-transition-names. This must happen before the first frame is rendered. Though, as you mention, this does mean authors will have to be somewhat careful not to unnecessarily delay first paint. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMmsAuWA%2BKEfqdxSQ48mAUicvuUumaLwztMhVJ6uabkwaM0DQ%40mail.gmail.com.
