RFR: 8218973: SVG with masking is not rendering image with mask effect [v13]
Arun Joseph
ajoseph at openjdk.java.net
Thu Sep 17 06:37:30 UTC 2020
On Thu, 17 Sep 2020 06:29:36 GMT, Arun Joseph <ajoseph at openjdk.org> wrote:
>> Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Updates as per review comments
>
> The fix works when the shape is displayed initially on the screen, but fails when we scroll the image off-screen and
> then, back. To see the issue, you need to either rotate the gradient transform (by 90 degrees) or use a circle (any
> shape other than a rectangle) as the mask shape, as this bug can't be seen using a mask rectangle.
To reproduce the above issue, you can either you `<linearGradient id='Gradient' gradientTransform="rotate(90)">` or
`<mask id='Mask3'> <circle cx='100' cy='300' r="100" fill='url(#Gradient)' /> </mask>` in `svgMask.html` and resize the
window for scrolling.
-------------
PR: https://git.openjdk.java.net/jfx/pull/213
More information about the openjfx-dev
mailing list