Issue metadata
Sign in to add a comment
|
Iframe in foreignObject does not scale with svg
Reported by
sergio9...@gmail.com,
Jul 23
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 Steps to reproduce the problem: 1. https://codepen.io/anon/pen/oMZKxR What is the expected behavior? The iframe should be inside the black rect and cyan border What went wrong? The iframe does not scale with the svg Did this work before? N/A Does this work in other browsers? Yes Chrome version: 69.0.3493.3 Channel: dev OS Version: Flash Version:
,
Jul 23
This bisects to https://chromium.googlesource.com/chromium/src/+log/7bbdb70b2643201e9ec6236443b7b2003deaf03d..fb1ccf02ee8ca79e1404abfd3a3a7d540b7d2dbd which confirms the OOPIF idea. This does not show up in any of the OOPIF Layout Test failures. I feel like we should be prioritizing this, but can't say why. Iframes inside foreign object seems like a low usage thing, but then we shouldn't regress anything with OOPIF. Any insight from BGPT for a fix to M-69?
,
Jul 23
,
Jul 23
Why make it a duplicate? Is the issue that OOPIF makes the iframe a composited object like canvas and video?
,
Jul 23
Yes. The root issue is compositing.
,
Jul 24
Be aware that it is not just iFrames that are the problem, it is also div's and SVG elemets within the div's that do not display properly.See: https://svgdesign.guru |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by trchen@chromium.org
, Jul 23Components: -Blink>SVG Blink>Compositing
Labels: M-68 M-69
Owner: schenney@chromium.org
Status: Untriaged (was: Unconfirmed)