Issue metadata
Sign in to add a comment
|
canvas on foreignObject has different size than normal canvas when window.devicePixelRatio != 1
Reported by
kreft...@gmail.com,
Jan 11 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: 1. draw rectangle on canvas 2. draw rectangle of the same size on canvas inside foreingObject in svg 3. show them both next to each other in browser window having devicePixelRatio != 1 4. they will appear different in sizes What is the expected behavior? both rectangles should have the same size What went wrong? canvas inside the foreignObject svg is scaled by the devicePixelRatio Did this work before? N/A Does this work in other browsers? Yes Chrome version: 55.0.2883.87 Channel: stable OS Version: 10.0 Flash Version: Shockwave Flash 24.0 r0
,
Dec 22 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by f...@opera.com
, Jan 11 2017