<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Subpixel rendering causes repainting compositing layers moved by CSS animation"
href="https://bugs.webkit.org/show_bug.cgi?id=169586#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Subpixel rendering causes repainting compositing layers moved by CSS animation"
href="https://bugs.webkit.org/show_bug.cgi?id=169586">bug 169586</a>
from <span class="vcard"><a class="email" href="mailto:Hironori.Fujii@sony.com" title="Fujii Hironori <Hironori.Fujii@sony.com>"> <span class="fn">Fujii Hironori</span></a>
</span></b>
<pre>Here are a simple patch to disable subpixel rendering:
<span class="quote">> diff --git a/Source/WebCore/rendering/RenderLayerBacking.cpp b/Source/WebCore/rendering/RenderLayerBacking.cpp
> index 46c9ecd..4c72640 100644
> --- a/Source/WebCore/rendering/RenderLayerBacking.cpp
> +++ b/Source/WebCore/rendering/RenderLayerBacking.cpp
> @@ -889,8 +889,7 @@ private:
> LayoutRect RenderLayerBacking::computePrimaryGraphicsLayerRect(const LayoutRect& parentGraphicsLayerRect) const
> {
> ComputedOffsets compositedBoundsOffset(m_owningLayer, compositedBounds(), parentGraphicsLayerRect, LayoutRect());
> - return LayoutRect(encloseRectToDevicePixels(LayoutRect(toLayoutPoint(compositedBoundsOffset.fromParentGraphicsLayer()), compositedBounds().size()),
> - deviceScaleFactor()));
> + return LayoutRect(toLayoutPoint(compositedBoundsOffset.fromParentGraphicsLayer()), compositedBounds().size());
> }
>
> LayoutRect RenderLayerBacking::computeParentGraphicsLayerRect(RenderLayer* compositedAncestor, LayoutSize& ancestorClippingLayerOffset) const</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>