Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix combining of ClipPath child elements on Android #2198

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 23, 2023

  1. fix: Fix combining of ClipPath child elements on Android

    The code was conflating clipRules with how child elements need to be
    combined. These are unrelated. Children always need to be combined using
    UNION
    
    From https://www.w3.org/TR/SVG11/masking.html#EstablishingANewClippingPath
    > When the ‘clipPath’ element contains multiple child elements, the silhouettes of the child elements are logically OR'd together to create a single silhouette which is then used to restrict the region onto which paint can be applied.
    
    Related commits:
    766926f
    a1097b8
    wodin committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    5b02472 View commit details
    Browse the repository at this point in the history