mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
c8c50385b3
This fixes bug 1153539 with the Firefox download arrow being pixellated (verified by testing locally). I also confirmed what happens on a flame device with the transform unlocking the Firefox OS homescreen (bug 945082 / bug 972310). For that transform (which had a maximum scale of 2), I see four calls to GetSuitableScale: GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000 GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586 GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000 GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586 (Presumably the first and third are for width, and the second and fourth are for height.) I believe this shows that bug 972310 will remain fixed with this patch. I chose to use the pres context's visible area rather than the screen size because it seemed more appropriate, and also because (if memory serves correctly) it's much cheaper to get. |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |