Simon Fraser

Results 81 comments of Simon Fraser

It's really weird to align timers on some frequency that's not a multiple of the "update the rendering" frequency, typically 60Hz. Doing this will cause more CPU wakeups and be...

Note that WebKit already has some DOM timer alignment logic (see `Page::updateDOMTimerAlignmentInterval()`), which depends on low power mode, page visibility and user interaction. It's also possible that there's some alignment...

> vsync may end up driving wake ups This is the common case, I think. If any code runs that triggers a rendering update, then that rendering update will happen...

My preference would be to allow for the UA to synchronize low framerate animations by default. That would be a big power win. It would mean some unpredictability around when...

These are good questions, and I think the explainer should explain them!

There should also be consistency between `` and this API in terms of support for color spaces and alpha.

I don't believe there is any dependency between animation frame rate and HDR. I'm not sure why you qualify Web Animations as a "low-scientific-quality fallback". They should provide identical callback...

Just to be clear, by "HDR" do you mean "high dynamic range", i.e. brighter colors? I'm not sure why you're saying "HDR in Web Animations" since those are two unrelated...

Maybe limiting this to content that's in fullscreen would be OK.

> But I guess you're right that they could trigger different image loads to exfiltrate that bit It looks like no browser allows an SVG image to load subresources, so...