[Webkit-unassigned] [Bug 192322] New: CSS Painting API callbacks should be called before rendering
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 3 14:06:38 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192322
Bug ID: 192322
Summary: CSS Painting API callbacks should be called before
rendering
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: justin_michaud at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181203/bb3fef3a/attachment-0001.html>
More information about the webkit-unassigned
mailing list