Bug 94120 - [CSS Shaders] css3/filters/custom/filter-fallback-to-software.html and css3/filters/custom/invalid-custom-filter-shader.html fail on Mac build bots
Summary: [CSS Shaders] css3/filters/custom/filter-fallback-to-software.html and css3/f...
Status: RESOLVED DUPLICATE of bug 94372
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexandru Chiculita
URL:
Keywords:
: 94169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-15 09:23 PDT by Alexandru Chiculita
Modified: 2012-08-23 11:33 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Chiculita 2012-08-15 09:23:49 PDT
The following tests are failing on Mac Build Bots
  css3/filters/custom/filter-fallback-to-software.html = IMAGE
  css3/filters/custom/invalid-custom-filter-shader.html = IMAGE
Comment 1 Alexandru Chiculita 2012-08-15 11:46:45 PDT
The bug is introduced by http://trac.webkit.org/changeset/125462 . The issue is that copyUnmultipliedImage and copyPremultipliedImage don't do the color conversion on Mac.

There are other filters that are also affected, for example FEComponentTransfer, FEGaussianBlur, FEComposite, FELighting, FEConvolveMatrix.

-webkit-filter: blur(0) has the same issue.
Comment 2 Florin Malita 2012-08-15 12:07:32 PDT
(In reply to comment #1)
> The bug is introduced by http://trac.webkit.org/changeset/125462 .

Are you sure that the new results are incorrect? After 125462 filters are applied in a different color space (linearRGB, per spec), so the images are expected to be different. The intent was to mark them all for rebaseline, but some were missed.
Comment 3 Alexandru Chiculita 2012-08-15 12:34:00 PDT
(In reply to comment #2)
> (In reply to comment #1)
> > The bug is introduced by http://trac.webkit.org/changeset/125462 .
> 
> Are you sure that the new results are incorrect? After 125462 filters are applied in a different color space (linearRGB, per spec), so the images are expected to be different. The intent was to mark them all for rebaseline, but some were missed.

I think -webkit-filter: blur(0); should not change the colors at all.

Also, adding a grayscale(0) before the blur(0) fixes the issue, that's why I think that is an implementation issue.
Comment 4 Alexandru Chiculita 2012-08-16 13:55:11 PDT
*** Bug 94169 has been marked as a duplicate of this bug. ***
Comment 5 Alexandru Chiculita 2012-08-23 11:33:52 PDT

*** This bug has been marked as a duplicate of bug 94372 ***