iFrame screen dimensions test

(This seems to broken on a nook...)

Assumption

The overflow of the iframe should be hidden, this parent page shouldn't be very long.

The values displayed in the grey box should not be affected by a very long page within the iframe

The resize count in the grey box should only update when resizing the browser (or rotating the device)

Issue

On the nook, the page length is being reported as the full height of the iframe content

The resize count is increasing whenever you scroll the page

Is this the same for other Android devices?

  1. screen.width: screen.width, screen.height: screen.height
  2. screen.availWidth: screen.availWidth, screen.availHeight: screen.availHeight
  3. document.documentElement.clientWidth: document.documentElement.clientWidth, document.documentElement.clientHeight: document.documentElement.clientHeight
  4. window.innerWidth: window.innerWidth, window.innerHeight: window.innerHeight
  5. Resize count: 0