Issue metadata
Sign in to add a comment
|
[OOPIFs] iframe prevents drag&drop by ignoring 'pointer-events' and 'position' CSS properties
Reported by
cool...@gmail.com,
Jun 25 2018
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Steps to reproduce the problem: 1. run chrome --site-per-process https://jsfiddle.net/CoolCmd/z6n0cwd5 2. drag&drop the yellow text "drag me bro" at the bottom right corner What is the expected behavior? while dragging the text over the "Example domain" <iframe>, the event counter should increase. What went wrong? the event counter stop increasing. Did this work before? Yes 67 Does this work in other browsers? Yes Chrome version: 68.0.3440.33 (Официальная сборка) beta (64 бит) (cohort: Beta) Channel: beta OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: in real application (browser extension), this bug prevents resizing the <iframe> with chat. no workaround was found. :(
,
Jun 26 2018
coolcmd@ Thanks for the issue. Able to reproduce the issue on Windows 7 on Chrome Beta 68.0.3440.33 by following the steps mentioned in the original comment. Issue is not observed on Windows 10, Mac OS 10.13.5 and Ubuntu 14.04 on the reported version 68.0.3440.33 and the latest Canary 69.0.3469.3. Note : Issue is not observed on the Beta equivalent Dev build 68.0.3440.33 on Windows 7. Issue is only observed on Beta build 68.0.3440.33. As the issue is inconsistent, unable to provide the Bisect information and the Changelog URL. Hence marking this issue as Untriaged for further updates from Dev. Thanks..
,
Jun 26 2018
This issue is also observed on Canary 68.0.3418.2 on Windows 10.
,
Jun 27 2018
,
Jun 27 2018
Site Isolation get first crack at this. Send it to HitTesting if that's where the problem lies.
,
Jun 27 2018
Ken, can you take a look at the repro, given the pointer-events and position interaction? Also adding Daniel for drag n drop. If the motivating example is an extension, then I would imagine the bug happens even when disabling Site Isolation with chrome://flags/#site-isolation-trial-opt-out, correct? Site Isolation would indeed make the bug apply to web sites as well.
,
Jun 27 2018
Note: Comment 2 seems to indicate that there's probably some other factor involved which is inconsistent across builds/platforms. I'm guessing another field trial needs to be active, such as Viz Quad Hit Testing. If someone can confirm that, we should add the Viz component back.
,
Jun 27 2018
We know there are bugs with targeting during drag and drop, because it doesn't use asynchronous hit testing. That's not really compatible with the nested event loop during a drag. So things like invisible targets and pointer-events:none elements will cause problems here. This particular example only regresses with Viz hit testing -- disabling the #enable-viz-hit-test-draw-quad experiment resolves the problem. I believe this is because the current hit testing system includes a hack for iframes with pointer-events:none, disqualifying them from browser hit tests during the synchronous case. The new Viz region-based system doesn't have that hack. In both the old and new systems we would still see digressions in behavior if you did something like have a pointer-events:none div on top of an OOPIF. I thought we had a bug open talking about this but I can't see one atm.
,
Jun 27 2018
,
Aug 1
Non-empty Owner field => Status=Assigned. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by vamshi.kommuri@chromium.org
, Jun 26 2018