Ticket #1198 (closed defect: fixed)
[patch] Xinha width and height miscalculated when very small.
|Reported by:||guest||Owned by:||gogo|
Basically (in sizeEditor()), the objects inside the htmlArea object cause the explicit size set to be ignored (treating it more like a minimum size). So a call to htmlArea.offsetHeight or Width is not guaranteed to return the same value as was set to the htmlArea earlier in the routine.
In order to get it working for right now I make the iframe display none when asking for the dimensions of htmlArea. This isn't the best fix.
This affects IE7 and FF2/3 at the least. I have not tested other browsers.
Make an editor and set the sizes to 150px/150px to test. I used Xinha 0.95rc2.