Skip to content

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Aug 26, 2025

Fixes #94

Previously clip-path was only read form element attributes clip-path="url(#cp)" or style tags style: clip-path: url(#cp) but were never resolved via a Stylesheet.

This PR corrects that and will resolve clip paths referenced by the current class / id / selector

.a {
   clip-path: url(#cp)
}
<g class="a"> 
   ...
</g>

Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.76%. Comparing base (5886ae2) to head (f2cb554).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   89.74%   89.76%   +0.01%     
==========================================
  Files         144      144              
  Lines       12351    12366      +15     
==========================================
+ Hits        11085    11100      +15     
  Misses       1266     1266              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@swhitty swhitty merged commit f946d7b into main Aug 26, 2025
20 checks passed
@swhitty swhitty deleted the resolve-clipPath branch August 26, 2025 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem Decoding Data

1 participant