Skip to content

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
@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

3 participants