mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
96e3a70dc5
The comment in nsDisplayTransform::GetTransformForRendering() clearly says that |aOutOrigin| should return the same offset as GetTransform(). GetTransform() will pass the offset to GetResultingTransformMatrix() which will round it in many cases to avoid subpixel blurry rendering. But GetTransformForRendering() doesn't take this rounding into account, thus contradicting the intent described by the comment. This rounding is important to keep subpixel behavior consistent with or without webrender enabled. Currently, SVG will be rendered blurry in some cases if it's at a subpixel position. After fixing the problem in non-webrender case, the strange blur still occurs in webrender case. It turns out to be caused by this inconsistency. Differential Revision: https://phabricator.services.mozilla.com/D29495 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |