[Webkit-unassigned] [Bug 47868] Pixel cracks when using background image sprite on transformed element at certain scales.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 19 10:48:13 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47868


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71117|review?                     |review-
               Flag|                            |




--- Comment #5 from mitz at webkit.org  2010-10-19 10:48:13 PST ---
(From update of attachment 71117)
View in context: https://bugs.webkit.org/attachment.cgi?id=71117&action=review

> WebCore/platform/graphics/cg/ImageCG.cpp:189
> +        bool hasScale = transform.a != 1.0f || transform.d != 1.0f;

WebKit style is to omit the “.0f”. It serves no useful purpose whatsoever.

This test criteria seem to be wrong. On the one hand, the (very common) flip transform is included, and on the other hand, a shear or skew transform, which is likely to require interpolation and therefore introduce bleeding, is excluded. AffineTransform::isIdentityOrTranslationOrFlipped() may be the right test here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list