With the merge of #50, it appears that Chrome will report an incorrect value of the zoom level when inside an iframe of different width to the parent frame. window.outerWidth seems to always reference to the total browser width, whereas window.innerWidth references just the current frame's width.
Unfortunately, it seems Chrome does not allow cross domain access to top.innerWidth so I am not sure of a way to get a proper value to compare against window.outerWidth. Any thoughts on how we might be able to support iframes in Chrome?
With the merge of #50, it appears that Chrome will report an incorrect value of the zoom level when inside an iframe of different width to the parent frame.
window.outerWidthseems to always reference to the total browser width, whereaswindow.innerWidthreferences just the current frame's width.Unfortunately, it seems Chrome does not allow cross domain access to
top.innerWidthso I am not sure of a way to get a proper value to compare againstwindow.outerWidth. Any thoughts on how we might be able to support iframes in Chrome?