Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
Darkks
Posts: 2
Registered: ‎02-23-2012
My Device: 9300
My Carrier: twe

BrowserField2 returns incorrect offsetHeight

 

Hi All,

 

I'm working on the native App with browserFields and have a html page with "frameset" and  two "frame"  pages also contains viewport tag.

In the browserField I see only a small line with high few px, but in the native browser all ok.

I investigated it and got  unexpected results: in the browserField "offsetHeight"= 16px but in the native browser 593.

Without viewport tag in the browserField and in the native browser all ok.

screenshot with results

 

This issue occurs on the 9900 OS 7

Can you please help me? Maybe you know why it happens?

PS. The zip file with htmls is attached. http://www22.zippyshare.com/v/77725816/file.html

 

Thanks,

Denis

 

Please use plain text.