Summary: | REGRESSION: Canvas rendering changes between Safari and Nightlies | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dimitri Bouniol <dimitri008> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | esprehn, gsherloc, mdelaney7, mitz, oliver, tim.willison | ||||
Priority: | P1 | Keywords: | InRadar, NeedsReduction, Regression | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
URL: | http://appkainime.bouniol.homeip.net/ | ||||||
Attachments: |
|
Description
Dimitri Bouniol
2008-03-29 17:44:28 PDT
Created attachment 20205 [details] Difference between Safari and Nightly Renderings http://appkainime.bouniol.homeip.net/test/ I've made a test case and I think I've narrowed it down to a problem linked to the clip() (and possibly rect()) function(s). The test is made of two canvases, one clipping each vertical line before it is drawn, and the other doing so afterwards. In nightly (left) and safari (right), the rendering is the same for clipping after drawing, and has a large shadow bleed, in the second canvas (the one on the right in each browser). For the first canvas (the one on the left in each browser) however, when the clip occurs before drawing, the unwanted bleed is only present in nightly (left). The second row shows the rendered image drawn with only drawImage and a shadow. The third row shows each vertical line separated by 1 pixel. On safari (right), the first canvas (clip before drawing) correctly separates every line, but in every other case in both safari and webkit, the first line seems to be repeated several times before the rest of the image comes. Erk, Dimitri I just looked at this now and the test case is no longer available -- could you attach a copy to the bug? (or better yet say that it has magically fixed itself in the latest nightlies :D ) Link fixed, but unfortunately it has not fixed itself in the latest nightlies :( Hope you can fix it :) I looked at the test case in TOT, in Safari 3.1.1 and in Firefox. If I turn off shadows, then the TOT rendering resembles Firefox. Can you clarify what this bug is about? Is it about how shadows are rendered under transforms? Is it about how they are rendered under clipping? Can you make a smaller reduction that demonstrates just the thing that has changed? Thanks! On Chromium 13.0.779.0 (87016), drawImage does not work test case: http://jsfiddle.net/timmywil/9HtNy/5/ Dimitri, does this still reproduce? I no longer have the original files, so there is no way for me to check unfortunately. I'm sure that after 4 years the safari of the time became the nightly version of the time anyways, so there's little chance that it is still relevant :) |