clip-path is ignored when applied to iframe with a video or a 3d element
Reported by
mo...@sourcedefense.com,
Jun 4 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Steps to reproduce the problem: 1. Create an iframe with a clip-path 2. Append a <video> or a <div style="transform: translate3d(0,0,0)"> to the content of the iframe. 3. See that the clip-path is ignored. Or 1. Open the attached file 2. See how only 1 of 3 iframes are clipped. What is the expected behavior? Only part of the iframe should be visible. What went wrong? The whole iframe is visible even though a clip-path property is defined. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 58.0.3029.110 Channel: stable OS Version: 10.0 Flash Version:
,
Jun 8 2017
,
Jun 8 2017
Clip paths and composited children are a known issue. I'm duping into an older bug that I think covers this case. Local fix is to add will-change: transform to the element with the clip, I think. Although given it's an iframe that might not work. |
|||
►
Sign in to add a comment |
|||
Comment 1 by kavvaru@chromium.org
, Jun 6 2017Components: Blink>HTML>Frame
Labels: M-61 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)