New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 749349 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

An absolute positioned element under a stacking ancestor clip always composites

Project Member Reported by chrishtr@chromium.org, Jul 27 2017

Issue description

See attached.

It should instead only composite if other reasons force the abspos element or clip
to become composited.
 
test.html
197 bytes View Download
It appears that this was introduced for high-DPI screens in this CL:
https://codereview.chromium.org/402283003

and low-DPI in this CL:
https://codereview.chromium.org/2869813002

Both CLs were fixing correctness issues, but this fix is overly broad.
There should be a way to avoid the composited layer when not actually needed
for other reasons.
Blocking: -740209 751739
I think my TODO in CompositingReasonsFinder is talking about this situation:
      // TODO(schenney): We only need to promote when the clipParent is not a
      // descendant of the ancestor scroller, which we do not check for here.
      // Hence we might be promoting needlessly.

Not sure if that is the correct analysis, however.
Components: Blink>Compositing
Labels: PaintTeamTriaged-20170811 BugSource-Team
Ping - chrishtr: what's the plan? Any recent updates?
This is a case of compositing too much, right, not correctness of the painted result. Fixing it will probably wait until the we are through with Slimming Paint V2 and only need a single fix.
There has been no progress in the last month or two. I think we will likely
have to wait for SPv2, but plan to try to untangle a bit sometime in the next
3 months.

Comment 8 by yigu@chromium.org, May 14 2018

Cc: glebl@chromium.org ikilpatrick@chromium.org yigu@chromium.org susan.boorgula@chromium.org
 Issue 842258  has been merged into this issue.
Labels: Hotlist-Interop
Blocking: -751739

Sign in to add a comment