Blurry text with will-change transform and scale |
||
Issue descriptionThe following code produces blurry text: <button style="will-change: transform; transform: matrix(1.035, 0, 0, 1.035, 0, 0);">BLURRY</button> See attached screenshot. Removing will-change: transform makes it crisp, as in the second attached screenshot.
,
Sep 12 2017
IIRC this is working as intended. will-change:transform is being used as a hint to fix raster scale to device scale factor. (I only learned this fact last week, which I think is controversial... But I may have misunderstood it.)
,
Sep 13 2017
It's not working as intended. will-change: transform just means to not re-raster on scale change of the cc::Layer. The first time it's rastered, it should use the optimal scale.
,
Sep 14
Ah I see why. It has nothing to do with will-change:transform. Appending translateZ(0) to the transform would have the same effect. It is due to fractional offset on a explicitly composited layer (which translated rasterization doesn't apply). Adding transform-origin:0 0; would eliminate the blur. |
||
►
Sign in to add a comment |
||
Comment 1 by vmp...@chromium.org
, Sep 12 2017