Created attachment 182690 [details]
html file which should be showing square root symbol
attached htm file should render square root symbol but it does not do in any version of webkit based browser like QtBrowser demo, safari and in google chrome. This works fine with Firefox.
Created attachment 182691 [details]
expected result screen shot
I see the square root symbol with the latest version of Chrome Linux.
Which browser/version/os are you using? Do you have the STIX fonts installed?
I dont see this with latest chrome on windows, or mac.
I dont even see this on safari. Why I must have STIX font for this, where as I can see other symbols without this.
I'm not a Webkit developer, but the square root is special it is rendered with a stretchy MathML symbol and I think Webkit needs the STIX fonts for that. Is the square root symbol the only problem or are the MathML formulas not formatted in general:
perhaps you should attach a screenshot of what you are actually seeing and give the version number of your browser.
MathML is currently disabled on Chrome (and it no longer uses WebKit) and Qt (bug 110205).
I verified the code and the square root is actually drawn with basic lines not glyphs, so that may be a graphic library issue. Probably, WebKit should use glyphs to draw the square root and that could fix the bug (but this will no longer work when fonts are not installed)
Created attachment 233523 [details]
Screenshot Nightly WebKitGTK+
Here is how it renders in WebKitGTK+.
Chrome and Qt no longer uses WebKit. It works for me with WebKitGTK+ and <msqrt> should be supported in any WebKit-based browser.