On Thu, Aug 22, 2013 at 10:34 PM, Thinker K.F. Li <[email protected]>wrote:
> After a discussion with Kan-Ru, I get more about the problem itself. > Since the positions of all display items in a nsIScrollableFrame are > relative to nsIScrollableFrame itself. By keeping display itmes in the > cache and applying a translation (shift) to the gfxContext before > calling paint() on display items, we don't need to change the display > items in the cache. Of course, invalidate regions should be translated > too. > The offset to apply to each display item would have to be stored somewhere, and then those offsets will all have to be updated. It seems simpler and more efficient to me to make the display items be relative to their active scrolled root, then nothing will have to be updated. Matt can explain more of the details of what we think needs to be done. Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w * * _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

