Inconsistent geometry data

2014-02-14
2014-02-25
  • Radu Barbos
    Radu Barbos
    2014-02-14

    I am using the 1.0.2 version. I have a timer that calls $sf.ext.geom() and based on the geometry I'm
    computing the amount of clipping of the iframe on the edges.
    I've noticed the geom data is not the same between browsers.For example the self data. In firefox and IE the top, left represents the position in the document no scoll data is used in the values. On the other hand in chrome 32 the self top, left represents the position of the iframe with scrolling amount added, so they can have negative values when scrolled out of view.

     
  • Chris Cole
    Chris Cole
    2014-02-14

    Thank you for reporting this. There is a tracking ticket against geometry issues in Chrome

    https://sourceforge.net/p/safeframes/tickets/10/

    I have added your comments to this ticket.

     
  • Sean Snider
    Sean Snider
    2014-02-25

    Chris, in our Yahoo! implementation, I have done a lot of work in this area to get things right. We should probably sync up separately on our own to share code / do updates, ping me via e-mail or something.