On Fri, Jun 6, 2014 at 4:22 PM, Dirk Schulze <dschu...@adobe.com> wrote:
> What about > > DOMMatrix(1,0,0,1,0,0) or > DOMMatrix(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1) > > Do we check the values and determine if the matrix is identity or not? If > we do, then authors could write DOMMatrix(other.a, other.b, other.c, > other.d, other.e, other.f) and check any kind of matrix after transforming > for identity. In this case, a real isIdentity check wouldn’t be worst IMO. > I would lean towards just setting isIdentity to false for that case, but I could go either way. If authors try really hard to shoot themselves in the foot, they can. 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