New issue
Advanced search Search tips

Issue 825775 link

Starred by 9 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-04-03
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression

Blocking:
issue 823365



Sign in to add a comment

Iframe jumping when outline applied

Reported by tom...@gmail.com, Mar 26 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.45 Safari/537.36

Example URL:
https://zeroid.qc.to/temp/chrome_outline_jumping/

Steps to reproduce the problem:
1. Go to https://zeroid.qc.to/temp/chrome_outline_jumping/
2. Move mouse over links

What is the expected behavior?
The iframe should stay in the same position

What went wrong?
The iframe jumping around the screen

Does it occur on multiple sites: Yes

Is it a problem with a plugin? N/A 

Did this work before? Yes 65.0.3325.181

Does this work in other browsers? Yes

Chrome version: 66.0.3359.45  Channel: beta
OS Version: 10.0
Flash Version:
 
video-2018-03-26-1320-48.mp4
3.5 MB View Download

Comment 1 by bokan@chromium.org, Mar 26 2018

Components: -Blink Blink>Layout
Labels: -Type-Bug -Pri-2 OS-Linux Pri-1 Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Confirmed in Dev channel and works correctly in stable. 

Comment 2 by bokan@chromium.org, Mar 26 2018

Cc: bokan@chromium.org
I'm currently getting an error trying access the repro URL, so can't verify myself, but is the iframe in question here cross-origin?  If so, can you see if disabling site isolation trials via chrome://flags/#site-isolation-trial-opt-out helps at all?  We're experimenting with site isolation on beta/dev/canary, so they might affect this.

Comment 4 by e...@chromium.org, Mar 28 2018

Labels: Needs-Feedback
NextAction: 2018-04-03
Unable to access repro. Will check back in a week or once further clarification is provided. 

Comment 5 by tom...@gmail.com, Mar 28 2018

The display error happens using same origin html file, booth with and without iframe sandboxing. Opting out from chrome://flags/#site-isolation-trial-opt-out does not helps.

The url should work (tested from different locations), but attached the reproduction files.
index.html
509 bytes View Download
frame.html
784 bytes View Download
The NextAction date has arrived: 2018-04-03

Comment 7 by e...@chromium.org, Apr 4 2018

Labels: Needs-TestConfirmation Needs-Bisect

Comment 8 by ajha@chromium.org, Apr 17 2018

Labels: -Needs-Feedback
Cc: susan.boorgula@chromium.org
Labels: -Needs-TestConfirmation -Needs-Bisect hasbisect-per-revision ReleaseBlock-Stable RegressedIn-66 FoundIn-67 M-66 Target-67 Target-66 FoundIn-66 FoundIn-68 Triaged-ET Needs-Triage-M66 Target-68 OS-Mac
Owner: skobes@chromium.org
Status: Assigned (was: Untriaged)
tomper@ Thanks for the issue.

Able to reproduce this issue on Windows 10, Mac OS 10.12.6 and Ubuntu 14.04 on the latest Canary 68.0.3398.0 and latest Stable 66.0.3359.117 as per the original comment.

Bisect Information:
===================
Good Build: 66.0.3344.0 (Revision - 535592)
Bad Build : 66.0.3345.0 (Revision - 536026)

On executing the per-revision bisect script, below is the Changelog URL:

https://chromium.googlesource.com/chromium/src/+log/e04a14f4769d6b33b32686ccc3414e917a625ae7..a5676deb1e679035678bc1ed997518cd226378b9

From the above Changelog, suspecting the below change:
Reviewed-on:https://chromium-review.googlesource.com/857902

skobes@ Please check and confirm if this issue is related to your change, else help us in assigning to the right owner.

Adding ReleaseBlock-Stable for M-66 as this is a recent regression. Please feel to remove if this is not applicable.

Thanks.
Labels: -Pri-1 -ReleaseBlock-Stable Pri-2
Looks like an RLS layer positioning bug with a complex set of triggers.  Scope and severity doesn't warrant RBS.

As a workaround, you can add "will-change: transform" to the <body> element inside the iframe (frame.html).
Blocking: 823365
Project Member

Comment 12 by bugdroid1@chromium.org, Apr 24 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7153d60e8eb3c6559a3a06aaba072472f0cc325f

commit 7153d60e8eb3c6559a3a06aaba072472f0cc325f
Author: Steve Kobes <skobes@chromium.org>
Date: Tue Apr 24 21:47:35 2018

Fix position of document GraphicsLayer in iframe with outline.

In RLS mode, the position of an iframe LayoutView's main GraphicsLayer
must account for any offset from the border or outline styling of the
<iframe> element.

Previously there were two different codepaths for applying this offset:
(1) LayoutView's CLM in the child frame's compositing update
(2) LayoutIFrame's CLM in the parent frame's compositing update

If both frames are invalidated at the same time, path (1) breaks,
because the parent document's lifecycle state disallows the child
frame's compositing queries.  Having two paths is also error-prone.
This patch removes (1) in favor of using (2) exclusively.

Bug:  825775 
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I00cf19be083081315e7918efc1ebd2af00cae906
Reviewed-on: https://chromium-review.googlesource.com/1020146
Commit-Queue: Steve Kobes <skobes@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553296}
[add] https://crrev.com/7153d60e8eb3c6559a3a06aaba072472f0cc325f/third_party/WebKit/LayoutTests/compositing/iframes/layer-position-with-outline-expected.html
[add] https://crrev.com/7153d60e8eb3c6559a3a06aaba072472f0cc325f/third_party/WebKit/LayoutTests/compositing/iframes/layer-position-with-outline.html
[modify] https://crrev.com/7153d60e8eb3c6559a3a06aaba072472f0cc325f/third_party/blink/renderer/core/paint/compositing/composited_layer_mapping.cc
[modify] https://crrev.com/7153d60e8eb3c6559a3a06aaba072472f0cc325f/third_party/blink/renderer/core/paint/compositing/composited_layer_mapping.h

Status: Fixed (was: Assigned)
Verified in canary (68.0.3409.0).
Labels: Merge-Request-67
Status: Started (was: Fixed)
Requesting merge to M67.
Cc: skobes@chromium.org
 Issue 841073  has been merged into this issue.
Project Member

Comment 16 by sheriffbot@chromium.org, May 9 2018

Labels: -Merge-Request-67 Merge-Review-67 Hotlist-Merge-Review
This bug requires manual review: M67 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Per comment #10 this is P2, not "RBS" and regressed in M66. I'm leaning towards to not taking this merge in for M67 as it is going to stable soon and we're only taking absolutely critical merges in. Pls let me know ASAP if there is any concern here. Thank you. 

Comment 18 Deleted

That's fine, I was asked to merge on  issue 841073  but in my opinion it is not high priority.
Labels: -Merge-Review-67 Merge-Rejected-67
Rejecting merge to M67 based on comment #19. Thank you.

Sign in to add a comment