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

Issue 601704 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 593596
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

[spv2] overflow clip uses wrong transform space

Project Member Reported by pdr@chromium.org, Apr 8 2016

Issue description

In the attached testcase we have an overflow clip with a transform node. The text should be visible but instead it gets clipped out.

I think we're using the wrong transform space for overflow clip:
With transform:
PreTranslation 0x1108e3d7cd30 transform=translation=0.000000,0.000000,0.000000
  ScrollTranslation 0x1108e3d7ce10 transform=translation=0.000000,0.000000,0.000000
    PaintOffsetTranslation 0x1108e3d7cef0 transform=translation=20.000000,20.000000,0.000000
      Transform 0x1108e3d7cfd0 transform=translation=1.000000,1.000000,1.000000
ContentClip 0x1108e3ca4358 localTransformSpace=0x1108e3d7cd30 rect=0.000000,0.000000,1078.000000,707.000000
  OverflowClip 0x1108e3ca4448 localTransformSpace=0x1108e3d7cfd0 rect=0.000000,0.000000,185.000000,185.000000

Without transform:
PreTranslation 0x1108e3d7c470 transform=translation=0.000000,0.000000,0.000000
  ScrollTranslation 0x1108e3d7cef0 transform=translation=0.000000,0.000000,0.000000
ContentClip 0x1108e3ca4628 localTransformSpace=0x1108e3d7c470 rect=0.000000,0.000000,1078.000000,707.000000
  OverflowClip 0x1108e3ca4448 localTransformSpace=0x1108e3d7cef0 rect=20.000000,20.000000,185.000000,185.000000
 
overflowClipBug.html
303 bytes View Download
Mergedinto: 593596
Status: Duplicate (was: Assigned)
It is a cull rect bug. I have a workaround for it but was too busy to update text expectation & submit it.
https://codereview.chromium.org/1809593002/

Sign in to add a comment