SVG viewBox to Canvas device-pixel coordinate mismatch during incremental rect migration
Coordinate space divergence Migrating a graphics layer from SVG <rect> to Canvas rect() without downtime requires running both renderers in parallel during transition. SVG rectangles express geometry in user units defined by the viewBox , while Canvas operations target drawing-buffer pixels that already incorporate devicePixelRatio . When a parent cont