[Webkit-unassigned] [Bug 227826] New: SVGInlineTextBox::acquirePaintingResource() should return false if the resource can't be applied
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 8 19:51:16 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=227826
Bug ID: 227826
Summary: SVGInlineTextBox::acquirePaintingResource() should
return false if the resource can't be applied
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: zimmermann at kde.org
We need ensure RenderSVGResource::postApplyResource() is called only if the corresponding RenderSVGResource::applyResource() succeeds. Otherwise the GraphicsContext stack state will be unbalanced.
RenderSVGResourcePattern::applyResource() calls GraphicsContext::save() only if it returns true. If it returns false and we call RenderSVGResourcePattern::postApplyResource(), GraphicsContext::restore() will be called for inexistent save().
--
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/20210709/2f4c007c/attachment.htm>
More information about the webkit-unassigned
mailing list