[Webkit-unassigned] [Bug 242420] avoid invalidating SVG resources when referencing element changes layout
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 6 21:29:04 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=242420
--- Comment #1 from Cameron McCormack (:heycam) <heycam at apple.com> ---
The pattern I will use for all of the resource classes is to store the dependencies that came from the referencing RenderElement (such as its object bounding box) on the data object we store in the HashMap of the resource container object. Then, under applyResource, we compute those dependencies and compare them against the cached values. If they differ, we invalidate the cached values (such as the RefPtr<Gradient> of a gradient resource or the RefPtr<ImageBuffer> of a mask resource) and recompute them.
--
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/20220707/e14c1dfe/attachment.htm>
More information about the webkit-unassigned
mailing list