I supposed that JavaScript support in WebView is exactly the original one in WebKit. Am I wrong?
The engine is the same, but as it interacts with other parts of the browser, it may hit bugs elsewhere. What you're seeing seems to be a bug in processing font metrics. Looks very similar to RT-18883 indeed.
-- Peter