зеркало из https://github.com/mozilla/gecko-dev.git
a2741d30bf
Casting the scale components to integers before multiplying meant that nsDisplayTransform::ShouldPrerenderTransformedContent was incorrectly calculating the scaled frame size. This was especially bad when scale < (1.0, 1.0), as it would calculate a size of (0, 0), leading us to prerender the frame even if it was too large. Calculate the frame's size using floating point scale components so as to avoid this problem. MozReview-Commit-ID: KhbP8tJ8qYx --HG-- extra : transplant_source : %E6%BD%80l%D9O%CE%B0%12%D8%94R%AB%C0%13%A0%E7%B9%01E |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |