Summary: | REGRESSION (r56182): iWeb shadow drawn around image rectangle, not around opaque part of the image | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jean-Luc Evrard <gratvador> | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap, bdakin, eric, mitz, simon.fraser | ||||||
Priority: | P1 | Keywords: | InRadar, NeedsReduction, Regression | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac (Intel) | ||||||||
OS: | OS X 10.6 | ||||||||
URL: | http://john.boring.free.fr | ||||||||
Attachments: |
|
Description
Jean-Luc Evrard
2010-03-27 05:57:55 PDT
I'm confused. If Firefox is the only browser that doesn't work correctly, why are you reporting this problem against WebKit? Or are you saying that this doesn't work in Safari when using a nightly build of WebKit? If so, could you please attach a screenshot, to make it more clear what problem you are seeing? Created attachment 51838 [details]
two screenshots
Two screenshots of affected/unaffected rendering
Safari webkit (Mac) and Firefox are affected Safari 4 (Mac/Win) and IE8 are unaffected This appears to be due to a change in shadow behavior in canvas. Caused by <http://trac.webkit.org/changeset/56182>. Presumably by the change to serialization of the transparent color. Presumably the content expects rgba(0, 0, 0, 0). From …Main/Scripts/iWebImage.js: p_alphaComponent : function(color) { var alpha=1.0; if (color && color.indexOf('rgba(') != -1) { if (color.match(/rgba\((?:\s*\S+\s*,\s*){3}(\S+)\s*\)/)) { alpha=RegExp.$1; } } return alpha; } Created attachment 51843 [details] Revert the CSSPrimitiveValue part of r56182 Comment on attachment 51843 [details] Revert the CSSPrimitiveValue part of r56182 r=me This appears to have turned the leopard bots red. It would have been nice if there were a PASS/FAIL test for this. |