Display scaling of img elements in SVG foreignObjects wrong during CSS transitions
Reported by
zbbjorn...@gmail.com,
Jul 10
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Steps to reproduce the problem: http://jsfiddle.net/nr3c14xm/31/ What is the expected behavior? What went wrong? This fiddle causes the rendering shown in the attached GIF, where the image is shrunken during the CSS transition. This happens with and without hardware acceleration enabled. (Note that adding `translateZ(0)` causes the image to always be shrunken.) Did this work before? N/A Does this work in other browsers? Yes Chrome version: 67.0.3396.99 Channel: stable OS Version: 10.0 Flash Version:
,
Jul 10
Sorry to spam. Colleague reproduced this on a non-high-DPI display, on Linux, by zooming Chrome.
,
Jul 10
,
Jul 12
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 14.04 using chrome reported version #67.0.3396.99 and latest canary #69.0.3488.0. This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Jul 18
,
Jul 19
Something is wrong with the zoom factor when the image moves to be composited inside the foreign object. Maybe we can fix this now given the stacking context changes? Also, since we're getting closer to making SVGForeignObject genuinely useful, it seems like we might want a push to fix these issues.
,
Aug 13
Isn't this just another instance of issue 467484? (During the transition, the <img> becomes a layer, and thus loses the effective zoom that the <svg> root applies. Probably related to the effective-zoom-resetting magic that happens for fO during style resolve - I suspect that needs to go.)
,
Aug 13
Sorry, make that issue 655983 (not issue 467484 - although they are likely fairly similar I'd suspect.) (https://bugs.chromium.org/p/chromium/issues/detail?id=738022#c13 points out the effective-zoom-resetting magic BTW.)
,
Aug 13
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by zbbjorn...@gmail.com
, Jul 10