Skip to content

Fix fractional SVG dimensions - #140

Open
mishchenko11 wants to merge 1 commit into
swhitty:mainfrom
mishchenko11:fix/fractional-svg-dimensions
Open

mishchenko11 wants to merge 1 commit into
swhitty:mainfrom
mishchenko11:fix/fractional-svg-dimensions

Conversation

@mishchenko11

Copy link
Copy Markdown

Fix SVG width and height by changing them from DOM.Length to DOM.Coordinate
Updated SVG parsing, formatting, and layer tree building to support fractional dimensions
Also added a new test for fractional SVG dimensions
Testing:

  • swift build
  • swift test

@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.90%. Comparing base (cf234e7) to head (b6bd4c6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
- Coverage   88.91%   88.90%   -0.01%     
==========================================
  Files         166      166              
  Lines       13466    13472       +6     
==========================================
+ Hits        11973    11977       +4     
- Misses       1493     1495       +2     

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant