Skip to content

test(engine): expect camelCase viewBox in serialized inline SVG#96

Merged
codymullins merged 1 commit into
mainfrom
fix/inline-svg-viewbox-casing
Jun 18, 2026
Merged

test(engine): expect camelCase viewBox in serialized inline SVG#96
codymullins merged 1 commit into
mainfrom
fix/inline-svg-viewbox-casing

Conversation

@codymullins

Copy link
Copy Markdown
Collaborator

Follow-up to the merged HTML tree-construction work: the parser now applies the SVG attribute-case adjustment (viewboxviewBox), so the inline-SVG serializer emits canonical viewBox. Updates the one stale InlineSvgFetcherTests assertion that expected the old lowercase form (it surfaced once #91 let CI run the unit tests again). Test passes (3/3).

The HTML parser now applies the SVG attribute-case adjustment table (viewbox
-> viewBox), so InlineSvgSerializer round-trips the canonical camelCase name.
Update the stale assertion that expected the old lowercased form. Surfaced once
the NU1903 restore fix let CI run the unit tests again.
Copilot AI review requested due to automatic review settings June 18, 2026 17:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codymullins
codymullins merged commit 65f0d37 into main Jun 18, 2026
4 of 5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants