RESOLVED WORKSFORME Bug 106866
Unable to render square root symbol
https://bugs.webkit.org/show_bug.cgi?id=106866
Summary Unable to render square root symbol
Irfan Omair
Reported 2013-01-14 20:50:12 PST
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.
Attachments
html file which should be showing square root symbol (4.71 KB, text/html)
2013-01-14 20:50 PST, Irfan Omair
no flags
expected result screen shot (49.37 KB, image/png)
2013-01-14 20:52 PST, Irfan Omair
no flags
Screenshot Nightly WebKitGTK+ (46.83 KB, image/png)
2014-06-21 03:01 PDT, Frédéric Wang (:fredw)
no flags
Irfan Omair
Comment 1 2013-01-14 20:52:40 PST
Created attachment 182691 [details] expected result screen shot
Frédéric Wang (:fredw)
Comment 2 2013-01-15 23:36:21 PST
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?
Irfan Omair
Comment 3 2013-01-16 08:55:32 PST
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.
Frédéric Wang (:fredw)
Comment 4 2013-01-16 10:37:51 PST
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: https://developer.mozilla.org/en-US/docs/Mozilla_MathML_Project/MathML_Torture_Test perhaps you should attach a screenshot of what you are actually seeing and give the version number of your browser.
Frédéric Wang (:fredw)
Comment 5 2013-07-24 00:41:17 PDT
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)
Frédéric Wang (:fredw)
Comment 6 2014-06-21 03:01:05 PDT
Created attachment 233523 [details] Screenshot Nightly WebKitGTK+ Here is how it renders in WebKitGTK+.
Frédéric Wang (:fredw)
Comment 7 2014-06-21 03:02:49 PDT
Chrome and Qt no longer uses WebKit. It works for me with WebKitGTK+ and <msqrt> should be supported in any WebKit-based browser.
Note You need to log in before you can comment on or make changes to this bug.