Re: [csswg-drafts] [css-contain-3][css-animations][css-transitions] Isolate animation side-effects? (#6398)

When there's no "style change event" (i.e. only animations progressing), we also don't need recalculate the base style/layout, since it didn't change. But yes, otherwise that's true.

However, the currently specified definition of "before-change style" already requires us to do a separate style pass (which we currently ignore in Blink) for each style change event. Then container queries comes along and makes it worse by mixing style and layout, so now we also must potentially also do layout twice, using the old style information but with animation effects updated to current time.

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6398#issuecomment-894489708 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 6 August 2021 20:02:35 UTC