Skip to content

Check xlink:href for gradientUnits="userSpaceOnUse" - #271

Open
nthykier wants to merge 1 commit into
scour-project:masterfrom
nthykier:gh-225-gradient-fix
Open

Check xlink:href for gradientUnits="userSpaceOnUse"#271
nthykier wants to merge 1 commit into
scour-project:masterfrom
nthykier:gh-225-gradient-fix

Conversation

@nthykier

Copy link
Copy Markdown
Contributor

When considering to prune attributes set to a default values, we
checked the gradientUnits attribute first to determine if that was
valid. Unfortunately, we omitted to check whether the gradientUnits
attribute was inherited via xlink:ref. This commit corrects that
bug.

Closes: #225
Signed-off-by: Niels Thykier niels@thykier.net

@codecov-io

codecov-io commented Feb 27, 2021

Copy link
Copy Markdown

Codecov Report

Merging #271 (e0e3f81) into master (fbf0c06) will decrease coverage by 0.03%.
The diff coverage is 91.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
- Coverage   94.08%   94.05%   -0.04%     
==========================================
  Files           6        6              
  Lines        2264     2286      +22     
==========================================
+ Hits         2130     2150      +20     
- Misses        134      136       +2     
Impacted Files Coverage Δ
scour/scour.py 94.50% <91.30%> (-0.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fbf0c06...e0e3f81. Read the comment docs.

When considering to prune attributes set to a default values, we
checked the `gradientUnits` attribute first to determine if that was
valid. Unfortunately, we omitted to check whether the `gradientUnits`
attribute was inherited via `xlink:ref`.  This commit corrects that
bug.

Closes: scour-project#225
Signed-off-by: Niels Thykier <niels@thykier.net>
@nthykier
nthykier force-pushed the gh-225-gradient-fix branch from e4c3bf1 to e0e3f81 Compare February 28, 2021 15:09
@codecov-commenter

codecov-commenter commented Apr 5, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.05%. Comparing base (fbf0c06) to head (e0e3f81).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
scour/scour.py 91.30% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
- Coverage   94.08%   94.05%   -0.04%     
==========================================
  Files           6        6              
  Lines        2264     2286      +22     
==========================================
+ Hits         2130     2150      +20     
- Misses        134      136       +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.

x2="1" is removed in <linearGradient

3 participants