http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectMiniApproved/filters-displace-02-f.html currently fails due to some strange colors near the edge of the displaced image.
I can't see it. Can you describe in more detail. Maybe with a screenshot with the differences circled?
Created attachment 498401 [details]
This might be a Mac only issue -- I haven't tried others yet.
Created attachment 559695 [details] [diff] [review]
Does this fix it? It seems the right thing to do according to http://www.w3.org/TR/SVG/coords.html#Units_viewport_percentage.
I don't know how to write a test for this.
It's a bit weird that 'scale' is described as a number in some places but is treated in the primitiveUnits coordinate system, so it's really a length. The spec could use some cleanup there.
Cameron, do you think you'll get a chance to check this patch out soon?
I will do so as soon as I return from my travels; ping me again if I don't respond before November 9.
It's November 10th now :-)
Sorry for the delay. I took a look at the patch, and I think we want this fix, but it doesn't fix the problem for this particular bug (the strange aqua colours at the left edge of the gradient in the top subtest). I'll attach a test for the scale="" coordinate space conversion problem that this patch fixes.
BTW, does this also affect some lighting filter primitives? It looks like they might also have been using this function.
Created attachment 574141 [details]
test for attachment 559695 [details] [diff] [review] patch
Comment on attachment 559695 [details] [diff] [review]
We want this patch, but it doesn't fix this bug.
Probably best to clone this bug and make the clone be about the original issue and then rename this one to what it fixes and land the patches. Can you do that Cameron please?
Created attachment 586787 [details] [diff] [review]
patch adding a test
test as a patch
Thanks Cameron and my apologies for muddying up this bug.