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 facet positioning of a rendered rendered SVGSVGElement #2219

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Nov 1, 2024

closes #2218

before after
before after

(this comment applies to the initial implementation; it would need a different code path now) We could extend this mechanism in the future to accept HTMLElement (say, canvas, or DIV), that we would wrap in a foreignObject of the width and height indicated in their style. (Or even text!)

@Fil Fil requested a review from mbostock November 1, 2024 13:53
(review suggestion)
@Fil Fil changed the title Wrap any rendered SVGSVGElement in a SVGGElement Fix facet positioning of a rendered rendered SVGSVGElement Nov 12, 2024
@mbostock mbostock enabled auto-merge (squash) November 15, 2024 02:09
@mbostock mbostock merged commit 419232b into main Nov 15, 2024
1 check passed
@mbostock mbostock deleted the fil/svg-element branch November 15, 2024 02:12
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.

facet positioning breaks for marks that render a SVGSVGElement
2 participants