[Webkit-unassigned] [Bug 53088] SVG: "filter" race condition may prevent SVG elements from being re-drawn
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 25 08:35:44 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53088
--- Comment #1 from SkyLined <skylined at chromium.org> 2011-01-25 08:35:43 PST ---
Work around: remove the filter style, force a redraw, re-apply the filter style:
function redraw() {
var oContainer = document.getElementById('blur_container');
var sFilter = oContainer.style.filter;
oContainer.style.filter = '';
oContainer.offsetTop; // force redraw
oContainer.setAttribute('style', 'filter:url(#Gaussian_Blur)');
}
This requires you to add id="blur_container" to the "g" element and call this function every time you modify one of its children.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list