On Thu, Jan 23, 2014 at 12:58 PM, Neil <n...@parkwaycc.co.uk> wrote: > I have a vague memory of seeing either a m.d.platform or blog post > mentioning the use of transforms as an alternative to absolute or relative > positioning, in particular avoiding reflows by its use of layers. > > Does this apply to all transforms, in particular translate(0, 0)? Would it > therefore be a bad idea to sprinkle translate(0, 0) on elements that never > end up with a transform? What happens when you remove the transform? >
Only animated or 3D transforms get this treatment. Sprinkling translate(0,0) everywhere won't have much effect, other than making every element a CSS stacking context and slowing down painting a little bit. 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-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform