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

Issue 637989 link

Starred by 8 users

Issue metadata

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



Sign in to add a comment

scale(1, 100) in a separate layer behaves poorly.

Project Member Reported by vmp...@chromium.org, Aug 15 2016

Issue description

Hi,

Given this:
<!doctype HTML>
<div style="transform:translateZ(0) scale(1, 100); height:1px;">hello</div>

(also attached as test.html), we end up generating a lot more tiles of awkward sizes than (I think) we should. See attached screenshot (screen-layered.jpg).

For comparison, screen-squashed.jpg is the same page without translateZ(0). And for fun, screen-1000.jpg is the same page with scale(1, 1000). We end up mostly drawing tile borders...
 
test.html
92 bytes View Download
screen-layered.jpg
161 KB View Download
screen-squashed.jpg
42.9 KB View Download
screen-1000.jpg
31.3 KB View Download

Comment 1 by vmp...@chromium.org, Aug 15 2016

Cc: chrishtr@chromium.org wkorman@chromium.org vmi...@chromium.org
If I add more text to the div so that there are no solid color tiles, we run out of memory for both software and gpu tiles. 

Comment 2 by vmp...@chromium.org, Aug 16 2016

Owner: chrishtr@chromium.org
If I change the scale to scale(2, 100), then the text seems to disappear altogether although find-in-page claims it's still there. Also, when using scale(1, 100) we get a layer 0,0 127200x1000 which is all visible. In terms of tiling that I think we're doing the best we can. However, it seems wrong that those are the dimensions that are best suited for this...

chrishtr@ do you mind taking a look/triaging?
Owner: vmp...@chromium.org

Comment 4 by vmp...@chromium.org, Jan 19 2017

Cc: vmp...@chromium.org ajuma@chromium.org
 Issue 396901  has been merged into this issue.

Sign in to add a comment