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

Issue 828103 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Multiple paint paths for non-stacked floating layer depending on non-stacked self-painting descendants

Project Member Reported by wangxianzhu@chromium.org, Apr 2 2018

Issue description

Test case from  crbug.com/826659 :

<span style="opacity: 0.2">
  <div style="float: left; overflow: hidden; background: blue">
    <div style="columns: 4">A</div>
  </div>
</span>

The text "A" is painted under the subsequence of <span>, with opacity, and the blue background is painted under the subsequence of <html>, without opacity.

Modified test case:

<span style="opacity: 0.2">
  <div style="float: left; overflow: hidden; background: blue">
    <div>A</div>
  </div>
</span>

Both text "A" and the blue background are painted under the subsequence of <html>, without opacity.

Problems:
1. The inconsistent paths cause difficulty when setting SetNeedsRepaint along the CompositingContainer() path.
2. The opacity is not correctly applied.


 
Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Available (was: Untriaged)

Sign in to add a comment