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

Issue 642401 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 557160

Blocking:
issue 630691



Sign in to add a comment

fast/css/all-shorthand-first-letter.html fails with spv2 and layer lists

Project Member Reported by pdr@chromium.org, Aug 30 2016

Issue description

This test is failing due to a very small opacity difference:
fast/css/all-shorthand-first-letter.html

https://storage.googleapis.com/chromium-layout-test-archives/linux_layout_tests_slimming_paint_v2/224/layout-test-results/results.html
 

Comment 1 by pdr@chromium.org, Sep 23 2016

Cc: ajuma@chromium.org
Here's a minimized repro of the bug, just open with --enable-slimming-paint-v2:
<!DOCTYPE html>
<style>
    #elm { overflow:hidden; width:100px; opacity:0.6; background:blue; }
    #elm::first-letter { background: blue;  }
</style>
<div id="elm">P</div>

I confirmed the paint artifact compositor is sending cc correct-looking trees. I think what is happening is that we have two chunks associated with an opacity effect and we want them to draw into the same render surface, but a clip forces them into two surfaces which ends up double-drawing the background color.
debugging_notes.txt
3.9 KB View Download

Comment 2 by ajuma@chromium.org, Sep 23 2016

Currently, we're only creating a root render surface when using PaintArtifactCompositor. In cc, render surface determination is still happening in PropertyTreeBuilder, so gets skipped in slimming-paint-v2 mode. So only the root effect node gets a surface (since PaintArtifactCompositor sets only that node's has_render_surface bit to true). And this means that effects get applied to each layer separately.

The plan is to move render surface determination out of PropertyTreeBuilder over to the compositor thread (and then it won't get skipped in spv2 mode).

Comment 3 by pdr@chromium.org, Sep 23 2016

Thanks! Is there a bug I could block this on?

Comment 4 by pdr@chromium.org, Sep 23 2016

Cc: pdr@chromium.org chrishtr@chromium.org
Owner: ----
Status: Available (was: Assigned)

Comment 5 by ajuma@chromium.org, Sep 23 2016

Blockedon: 557160

Comment 6 by pdr@chromium.org, Dec 2 2016

Owner: trchen@chromium.org
Status: Fixed (was: Available)
This was fixed by Tien-ren's recent effect tree work.

Updating expectation in https://codereview.chromium.org/2550793002

Sign in to add a comment