RESOLVED FIXED 160074
Reset font-style on the <math> element
https://bugs.webkit.org/show_bug.cgi?id=160074
Summary Reset font-style on the <math> element
Frédéric Wang (:fredw)
Reported 2016-07-21 23:11:50 PDT
Created attachment 284308 [details] testcase This is another case for bug 156839: I think we should follow Gecko here and reset font-style on the <math> tag. Jacques Distler reported the following issue on the instiki Sandbox: "In Theorem 2, the absolute-value signs are slanted. I assume this is because the <math> has inherited the italics style of the surrounding text. But this looks wrong.". Actually the whole text is slanted but most noticeable with the absolute value signs. See the attachment.
Attachments
testcase (3.89 KB, text/html)
2016-07-21 23:11 PDT, Frédéric Wang (:fredw)
no flags
Patch (11.46 KB, patch)
2016-07-21 23:30 PDT, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2016-07-21 23:30:48 PDT
Manuel Rego Casasnovas
Comment 2 2016-07-22 08:03:06 PDT
Comment on attachment 284309 [details] Patch The patch LGTM but do we need such a big test case? Is not enough a simpler one to reproduce the issue? :-)
WebKit Commit Bot
Comment 3 2016-07-23 01:40:03 PDT
Comment on attachment 284309 [details] Patch Clearing flags on attachment: 284309 Committed r203640: <http://trac.webkit.org/changeset/203640>
WebKit Commit Bot
Comment 4 2016-07-23 01:40:06 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.