The test svg/W3C-SVG-1.1/masking-intro-01-f.svg fails. This is a regression after bug 41193. The apparently wrong calculation of the offset was made to support maskContentUnits="objectBoundingBox" but breaks maskContentUnits="userSpaceOnUse". The patch in 41193 added support for the other mode by breaking objectBoundingBox.
Created attachment 41364 [details] Fix mask context location, linerRGB as default color-space. This patch fixes an issue of r49598. The maskDestRect shouldn't be used to calculate the position of he masking context. It's just the location and size of the mask image. Use another FloatPoint for the context position. It also change the default color-space to linearRGB according to the spec. This must be adapted by other platforms and just works with CG atm.
Created attachment 41366 [details] Fix mask context location, linerRGB as default color-space. typo in last patch
Comment on attachment 41366 [details] Fix mask context location, linerRGB as default color-space. Looks fine, r=me.
fix landed in r49757.