RESOLVED CONFIGURATION CHANGED Bug 192322
CSS Painting API callbacks should be called before rendering
https://bugs.webkit.org/show_bug.cgi?id=192322
Summary CSS Painting API callbacks should be called before rendering
Justin Michaud
Reported 2018-12-03 14:06:38 PST
The callbacks should be called at RAF time, not during paint. Possibly consider using StyleDidChange to determine if the custom paint element needs to be repainted, instead of the code in RenderStyle::changeRequiresRepaint. This also means that the responsibleDocument()->renderView()->repaintRootContents() repaint in PaintWorkletGlobalScope::registerPaint can be replaced with repainting only affected custom paint images.
Attachments
Simon Fraser (smfr)
Comment 1 2018-12-03 14:18:51 PST
The "before rendering" may change soon (when we fix rAF callback timing).
Justin Michaud
Comment 2 2024-04-08 13:37:17 PDT
Closing old bugs assigned to me
Justin Michaud
Comment 3 2024-04-08 13:37:39 PDT
Closing old bugs assigned to me
Note You need to log in before you can comment on or make changes to this bug.