RESOLVED DUPLICATE of bug 103117 Bug 82147
Canvas inside svg foreignObject renders incorrectly
https://bugs.webkit.org/show_bug.cgi?id=82147
Summary Canvas inside svg foreignObject renders incorrectly
jay
Reported 2012-03-25 10:26:32 PDT
apologies there is currently no reduced test case, as I am awaiting input from contributors to related bugs bug68635 bug3781 try: http://localhost/talks/mcts.html renders well in recent safari and similar code is used to render http://www.peepo.com click on golden key and tick mcts. click on board, if rendering bug is not evident, adjust speed, in bottom left repeatedly click on thinking symbol to make slower, ie more animated colour. click on board, in my tests only 25% or less of board is rendered in time as a partial irregular box, from top left corner bilinear lerp is used to generate large colour map, which firefox renders smoothly at all speeds, on 2.26 Ghz core2duo
Attachments
Screenshot (chrome on left, Safari on right) (517.19 KB, image/png)
2012-11-26 10:49 PST, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2012-11-26 10:48:47 PST
So there are two issues here: 1. Performance 2. The overlay canvas is the wrong size. I profiled while running, and almost all the time is running JS, so it's not a canvas drawing performance issue. Attaching a screenshot showing the rendering issue.
Simon Fraser (smfr)
Comment 2 2012-11-26 10:49:21 PST
Created attachment 176033 [details] Screenshot (chrome on left, Safari on right)
Simon Fraser (smfr)
Comment 3 2012-11-26 10:51:44 PST
Related to other bugs about RenderLayers inside foreignObject.
Simon Fraser (smfr)
Comment 4 2012-11-26 12:49:57 PST
*** This bug has been marked as a duplicate of bug 103117 ***
Note You need to log in before you can comment on or make changes to this bug.