|Replace == comparison with epsilon aware roughlyEquals for LayoutUnits
|Emil A Eklund <eae>
|Layout and Rendering
|ap, hyatt, leviw, simon.fraser
|528+ (Nightly build)
|Bug Depends on:
Description Emil A Eklund 2011-08-12 11:01:13 PDT
Once we move to float we can no longer safely use == to compare two LayoutUnits.
Comment 1 Alexey Proskuryakov 2011-08-12 21:10:51 PDT
So, are we decided that we move to floats, not to fixed precision numbers? Rough equality has a number of highly undesirable features - it's not transitive, it breaks with zoom etc.
Comment 2 Emil A Eklund 2011-08-15 10:22:02 PDT
Comment 3 Emil A Eklund 2011-11-01 17:04:47 PDT
No longer applicable as we decided to go with fixed point.