Bug 757859 - Add getSize/onResize methods to browser element. r=ehsan