Comment 14 for bug 597974

Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

Test file for luminance to alpha calculation for masks. Each large rectangle consists of two parts, a background part with a hole cut out which shows the target color and a center part that has a square masked with a solid red, green, blue, or grey mask.

For the red, green, and blue large rectangle, if you cannot distinguish between the background and center parts, the test passes.

For the grey square, Inkscape differs from other renderers. This is presumably because Inkscape is using sRGB when the spec calls for linearRGB. The left half of the inner square is masked to match Inkscape while the right half is masked to match Firefox and Batik.