On Fri, Jun 24, 2011 at 7:11 AM, Levi Weintraub <span dir="ltr"><<a href="mailto:leviw@google.com" target="_blank">leviw@google.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Emil and I looked into what Firefox did. They did go with a fixed-point-esque approach where one of their units represents 1/96th of a pixel. That number should tell you something about when this work was done, and they were mostly concerned about performance.</blockquote>

<div><br>Back in the mists of time the units were variable and sometimes equal to 1/96 of a pixel. More recently (but still years ago) we changed to 1/60 of a CSS pixel. And we chose fixed-point-esque not just because of performance but also because you keep useful properties such as associativity and commutativity.<br>

<br>If you're doing performance tests, make sure you test on ARM systems, which have widely varying floating-point capabilities.<br><br>Rob<br></div></div>-- <br>"If we claim to be without sin, we deceive ourselves and the truth is not in us. If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness. If we claim we have not sinned, we make him out to be a liar and his word is not in us." [1 John 1:8-10]<br>