Bug 43104 - recent colorspace changes have fixed svg/custom/grayscale-gradient-mask.svg
Summary: recent colorspace changes have fixed svg/custom/grayscale-gradient-mask.svg
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 42403
  Show dependency treegraph
 
Reported: 2010-07-27 21:12 PDT by Alex Nicolaou
Modified: 2010-08-06 22:03 PDT (History)
6 users (show)

See Also:


Attachments
Patch (9.03 KB, patch)
2010-08-03 21:58 PDT, Alex Nicolaou
no flags Details | Formatted Diff | Diff
Patch (8.98 KB, patch)
2010-08-06 21:08 PDT, Alex Nicolaou
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Nicolaou 2010-07-27 21:12:03 PDT
In my opinion svg/custom/grayscale-gradient-mask.svg renders close to correctly now that chromium-linux and chromium-mac ports use LinearRGB colour space for the gradient. This particular example is really hard to verify because of the gentle change to the gradient but the mac diffs show only a scattering of bad pixels and the linux diffs (which are worse) are probably mostly due to SKIA roundoff differences in the compositing. Creating this bug so that I can submit new baselines.
Comment 1 Alex Nicolaou 2010-07-28 22:35:45 PDT
This test is passing without new expectations and that is reflected in the new expectations in bug 42428 ... closing as duplicate.

*** This bug has been marked as a duplicate of bug 42428 ***
Comment 2 Alex Nicolaou 2010-08-03 21:52:36 PDT
That was only true for Mac, this test and another were affected by the colorspace change in masks on Linux/Windows and I'll attach rebaselines in a minute.
Comment 3 Alex Nicolaou 2010-08-03 21:58:07 PDT
Created attachment 63413 [details]
Patch
Comment 4 WebKit Commit Bot 2010-08-05 06:00:46 PDT
Comment on attachment 63413 [details]
Patch

Rejecting patch 63413 from commit-queue.

Failed to run "[u'/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Darin Adler', u'--force']" exit_code: 255
Last 500 characters of output:
th fuzz 3.
patching file LayoutTests/platform/chromium-linux/svg/custom/grayscale-gradient-mask-expected.checksum
patching file LayoutTests/platform/chromium-win/svg/custom/grayscale-gradient-mask-expected.checksum
delta is only avaliable with the XS version at /Library/Perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at /Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/VCSUtils.pm line 1662.

Full output: http://queues.webkit.org/results/3576953
Comment 5 Eric Seidel (no email) 2010-08-05 11:03:41 PDT
Comment on attachment 63413 [details]
Patch

I've cpan'd up the cq.  We'll see if it works better now.
Comment 6 WebKit Commit Bot 2010-08-05 12:11:08 PDT
Comment on attachment 63413 [details]
Patch

Rejecting patch 63413 from commit-queue.

Failed to run "[u'/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/svn-apply', u'--reviewer', u'Darin Adler', u'--force']" exit_code: 255
Last 500 characters of output:
th fuzz 3.
patching file LayoutTests/platform/chromium-linux/svg/custom/grayscale-gradient-mask-expected.checksum
patching file LayoutTests/platform/chromium-win/svg/custom/grayscale-gradient-mask-expected.checksum
delta is only avaliable with the XS version at /Library/Perl/5.8.8/Compress/Zlib.pm line 9
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Compress/Zlib.pm line 9.
Compilation failed in require at /Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/VCSUtils.pm line 1662.

Full output: http://queues.webkit.org/results/3568902
Comment 7 Eric Seidel (no email) 2010-08-05 14:07:12 PDT
These are delta patches.  We only support literal diffs for svn-apply.  I'm confused by why the zlib error, but this patch wouldn't work even w/o it, iirc.
Comment 8 Alex Nicolaou 2010-08-05 17:43:42 PDT
I've made all my patches the same way, using the script that creates and uploads the patch. I may have made the patch on different systems ... but I think they come out the same. For example patch 62917 from bug 42428 looks like the same style as this one to me and it was landed OK by the bot.

If the patch format is wrong we should fix or delete the patch script. I'd vote for fixing it but I'm not super familiar with the script.

Still, I'm puzzled why the other patches have applied and this one not. I would have guessed that it has more to do with the cq moving to snow leopard than with my patches?
Comment 9 Alex Nicolaou 2010-08-06 21:08:39 PDT
Created attachment 63802 [details]
Patch
Comment 10 Adam Barth 2010-08-06 22:03:30 PDT
Committed r64896: <http://trac.webkit.org/changeset/64896>