gecko-dev/layout
Jamie Nicol a2741d30bf Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange
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
2016-08-09 14:55:45 +01:00
..
base Bug 1292856 - Don't cast scale to int in nsDisplayTransform::ShouldPrerenderTransformedContent; r=mstange 2016-08-09 14:55:45 +01:00
build Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov 2016-08-08 20:51:39 -04:00
doc
forms Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
generic merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
inspector merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
ipc Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel 2016-08-10 15:15:28 +12:00
mathml Backed out changeset c0bf6e0b8f1d (bug 1173199) for build bustage CLOSED TREE 2016-07-28 11:48:20 -07:00
media Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
printing Bug 1287446: Check and add nsIPrintProgressParams and print progress listener separately in nsPrintEngine::ShowPrintProgress. r=tnikkel 2016-08-03 09:50:24 +01:00
reftests Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns 2016-08-09 22:15:00 +02:00
style Merge mozilla-central to mozilla-inbound 2016-08-10 16:02:57 +02:00
svg merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
tables Bug 1288992 Part 0 - Drop the nonsensical comment for nsTableFrame::ReflowChildren. r=dholbert 2016-07-27 11:22:15 +08:00
tools Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown 2016-08-05 16:40:08 -04:00
xul Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00