[Webkit-unassigned] [Bug 193647] New: Stoke/fill changes are not visible in SVG symbols
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 21 00:34:29 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=193647
Bug ID: 193647
Summary: Stoke/fill changes are not visible in SVG symbols
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kari.pihkala at gmail.com
CC: zimmermann at kde.org
Created attachment 359675
--> https://bugs.webkit.org/attachment.cgi?id=359675&action=review
test case
SVG symbols are not repainted correctly if an element inside them has its stroke or fill style changed by JavaScript setTimeout() or requestAnimationFrame().
See the attached test case, which shows a rectangle outside and inside a symbol. The rectangle inside the symbol doesn't show changes in the fill style.
However, changing the x or y property seem to force a repaint for the entire symbol. So, setting the "x" attribute of the rectangle makes also the fill style visible.
Tested on Safari 10, 12.0.2 (14606.3.4) and Safari Technology Preview Release 73 (Safari 12.1, WebKit 14607.1.18.3).
The test case works as expected on Firefox and Chrome.
Here's the same test case as a CodePen: https://codepen.io/anon/pen/ZwzebM?editors=1000
--
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/20190121/d2195451/attachment.html>
More information about the webkit-unassigned
mailing list