createImageBitmap - add options to specify SVG viewport #1881
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
topic: canvas
I proposed in #1880 that the layout size of an
<img>
should set the viewport for SVG in terms of media queries when drawing to a<canvas>
, as it lets you control the viewport size independent to drawn pixels.Since
createImageBitmap
lets you draw a blob, you lose control over the viewport. Feels like we should add options to specify the viewport, which would fall back to the pattern described in #1880.The text was updated successfully, but these errors were encountered: