New shape suggestion for SVG outputs

Called either HTML or ForeignObject and would be primarily aimed at SVG outputs.

Three attrs:

  • width
  • height
  • content - just a string which would be embedded into the output

SVG output:

  <foreignObject x="..." y="..." width="..." height="...">
    ...content...
  </foreignObject>

See MDN ForeignObject for motivation…

We could consider something like this, if the use cases are strong enough, I suppose? What’s your use case?