Removed getTextHeight() from BrowserDevice as no longer used.