<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>3251</bug_id>
          
          <creation_ts>2005-06-01 16:23:53 -0700</creation_ts>
          <short_desc>Implement MathML (master bug)</short_desc>
          <delta_ts>2024-12-01 22:20:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>MathML</component>
          <version>412</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>15302</dependson>
    
    <dependson>29529</dependson>
    
    <dependson>33703</dependson>
    
    <dependson>33964</dependson>
    
    <dependson>34228</dependson>
    
    <dependson>34275</dependson>
    
    <dependson>34277</dependson>
    
    <dependson>34278</dependson>
    
    <dependson>34347</dependson>
    
    <dependson>34741</dependson>
    
    <dependson>36452</dependson>
    
    <dependson>36525</dependson>
    
    <dependson>36528</dependson>
    
    <dependson>36540</dependson>
    
    <dependson>37044</dependson>
    
    <dependson>37497</dependson>
    
    <dependson>37763</dependson>
    
    <dependson>38327</dependson>
    
    <dependson>38377</dependson>
    
    <dependson>40327</dependson>
    
    <dependson>40827</dependson>
    
    <dependson>40986</dependson>
    
    <dependson>41535</dependson>
    
    <dependson>41895</dependson>
    
    <dependson>41961</dependson>
    
    <dependson>42041</dependson>
    
    <dependson>42067</dependson>
    
    <dependson>42373</dependson>
    
    <dependson>42472</dependson>
    
    <dependson>43481</dependson>
    
    <dependson>43503</dependson>
    
    <dependson>71725</dependson>
    
    <dependson>85730</dependson>
    
    <dependson>85733</dependson>
    
    <dependson>85735</dependson>
    
    <dependson>99623</dependson>
    
    <dependson>118737</dependson>
          <blocked>40829</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Alex Milowski">alex</assigned_to>
          <cc>abdulalis</cc>
    
    <cc>bdakin</cc>
    
    <cc>bgamari</cc>
    
    <cc>bronger</cc>
    
    <cc>cdiddca</cc>
    
    <cc>cop3252</cc>
    
    <cc>dbarton</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>distler</cc>
    
    <cc>donggwan.kim</cc>
    
    <cc>emacemac7</cc>
    
    <cc>fred.wang</cc>
    
    <cc>gsnedders</cc>
    
    <cc>gthiruva</cc>
    
    <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>info</cc>
    
    <cc>jasneet</cc>
    
    <cc>jshin</cc>
    
    <cc>karlcow</cc>
    
    <cc>kieranom</cc>
    
    <cc>kingsinsear6</cc>
    
    <cc>krit</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>lpadovan</cc>
    
    <cc>makotoy</cc>
    
    <cc>marsjaninzmarsa</cc>
    
    <cc>martin.sourada</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>mike</cc>
    
    <cc>mitz</cc>
    
    <cc>nickshanks</cc>
    
    <cc>nilesh.patil</cc>
    
    <cc>patrick</cc>
    
    <cc>rubys</cc>
    
    <cc>s.choi</cc>
    
    <cc>sekundes</cc>
    
    <cc>shashank.chintalagiri</cc>
    
    <cc>syoichi</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webmaster</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10453</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2005-06-01 16:23:53 -0700</bug_when>
    <thetext>This is a master bug to track the landing of an initial implementation of MathML for Web Kit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11919</commentid>
    <comment_count>1</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2005-06-14 14:49:02 -0700</bug_when>
    <thetext>This is also in Radar as &lt;rdar://problem/3142835&gt; Would like MathML support </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12288</commentid>
    <comment_count>2</comment_count>
    <who name="Jacques Distler">distler</who>
    <bug_when>2005-06-16 15:16:03 -0700</bug_when>
    <thetext>MathML support requires an extensive set of glyphs, not present in the fonts
customarily distributed with MacOSX.

To this end, the STIX Fonts Project ( http://www.stixfonts.org/ )is of interest.
Sometime in 2005 (or so they say), a full Unicode-compatible mathematical font
set will be available under a royalty-free licence (
http://www.stixfonts.org/user_license.html ).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14027</commentid>
    <comment_count>3</comment_count>
    <who name="Luca Padovani">lpadovan</who>
    <bug_when>2005-07-05 13:10:34 -0700</bug_when>
    <thetext>GtkMathView is a C++ rendering engine for MathML documents. It provides an
interactive view that can be used for browsing and editing MathML markup.
Despite its name, GtkMathView is modular and the actual MathML rendering engine
is completely independent of Gtk (and of any graphic platform). Currently
GtkMathView supports 3 different backends: for Gtk, for SVG (does not use any
graphic library), for AbiWord. GtkMathView&apos;s frontend (the way it reads the
MathML document) is also modular, and it supports both tree-based document
models as well as stream interfaces as well as application-specific models.
GtkMathView has very good support for Computer Modern fonts (both Type1 and
TrueType versions) and support for other font families can be added easily.

It seems to me like this is a good opportunity to make GtkMathView somewhat more
popular, and for you not to reinvent the wheel and to start with an already
working code base. I&apos;d be glad to hear from other developers if they think it
would be feasible to (re)use GtkMathView or some of its code base for adding
MathML support to Webkit. I anticipate that I&apos;m totally new to development on
the Apple platform, but it&apos;d be terrific if any piece of this (hard!) work,
which has going on for more than 5 years, could be of some help.

http://helm.cs.unibo.it/software/mml-widget/

Feel free to contact me for any question you may have.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28387</commentid>
    <comment_count>4</comment_count>
    <who name="YAMASHITA Makoto">makotoy</who>
    <bug_when>2006-01-13 17:58:42 -0800</bug_when>
    <thetext>(In reply to comment #3)
SVG &lt;text&gt; support is coming into being. Is it realistic to have the SVG engine
do the rendering job? Looks like gtkMathView can provide in-memory SVG tree with
a few modifications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28973</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-01-20 05:26:20 -0800</bug_when>
    <thetext>GtkMathView is licensed by the GPL.  Is that license compatible with WebKit?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29554</commentid>
    <comment_count>6</comment_count>
    <who name="Luca Padovani">lpadovan</who>
    <bug_when>2006-01-23 01:56:52 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; SVG &lt;text&gt; support is coming into being. Is it realistic to have the SVG engine
&gt; do the rendering job? Looks like gtkMathView can provide in-memory SVG tree with
&gt; a few modifications.

Indeed it is possible to have an &quot;SVG tree&quot; generated by GtkMathView. Note that the
rendering of MathML into SVG uses very little capabilities of SVG itself. Basically, all
that is needed is text rendering, reliable font selection, and colored rectangles. In
fact, I suspect it would probably be easier to directly interface GtkMathView with
the rendering interface used by the SVG engine, although have never glanced at how
that works.

In reply to comment #5, I might consider switching to a less strict licence, as long as
GtkMathView remains open source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29629</commentid>
    <comment_count>7</comment_count>
    <who name="YAMASHITA Makoto">makotoy</who>
    <bug_when>2006-01-23 16:15:03 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; Basically, all
&gt; that is needed is text rendering, reliable font selection, and colored
&gt; rectangles. In
With my quick experiment, the nightly build can render outputs (including greek letters, integral, square roots and the red square for missing? glyphs) of mathmlsvg quite fine using Bakoma fonts.

&gt; to directly interface GtkMathView with
&gt; the rendering interface used by the SVG engine
Well, we need to investigate on this more, perhaps it would mean to handle CSS frames or something?
In any case, in view of kmathml, this approach might be of temporary ad-hoc nature and then we can pursue the easiest rather than structural beauty...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33949</commentid>
    <comment_count>8</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-02-25 00:44:42 -0800</bug_when>
    <thetext>WebKit code must be under an LGPL-compatible license.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84859</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-07-01 05:55:21 -0700</bug_when>
    <thetext>*** Bug 19840 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100142</commentid>
    <comment_count>10</comment_count>
    <who name="Alexander Willner">alex</who>
    <bug_when>2008-11-24 20:34:02 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; GtkMathView is licensed by the GPL.  Is that license compatible with WebKit?
(In reply to comment #8)
&gt; WebKit code must be under an LGPL-compatible license.

GtkMathView is LGPL software since Oct 15, 2007 and also WebKits SVG support is mature now. With everything sorted out, only someone who can integrate it into WebKit is missing ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100199</commentid>
    <comment_count>11</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-11-25 05:41:43 -0800</bug_when>
    <thetext>Hyatt is not working on this; reassigning to webkit-unassigned.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100200</commentid>
    <comment_count>12</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-11-25 05:44:44 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #5)
&gt; &gt; GtkMathView is licensed by the GPL.  Is that license compatible with WebKit?
&gt; (In reply to comment #8)
&gt; &gt; WebKit code must be under an LGPL-compatible license.
&gt; 
&gt; GtkMathView is LGPL software since Oct 15, 2007 and also WebKits SVG support is
&gt; mature now. With everything sorted out, only someone who can integrate it into
&gt; WebKit is missing ;)

Will that work on all platforms once the Gtk dependencies are removed?  I suppose the SVG backend would work best in this case.

http://helm.cs.unibo.it/mml-widget/

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110773</commentid>
    <comment_count>13</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-02-24 11:09:25 -0800</bug_when>
    <thetext>*** Bug 24127 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159791</commentid>
    <comment_count>14</comment_count>
    <who name="JoeJava">cop3252</who>
    <bug_when>2009-11-02 06:19:50 -0800</bug_when>
    <thetext>A MaTHML Browser testing page is:

https://eyeasme.com/Joe/MathML/MathML_browser_test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183759</commentid>
    <comment_count>15</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-01-22 12:47:45 -0800</bug_when>
    <thetext>Added all the current MathML related issues in the &quot;Depends On&quot; field.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185234</commentid>
    <comment_count>16</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-01-27 15:03:03 -0800</bug_when>
    <thetext>Added the debug layout patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185544</commentid>
    <comment_count>17</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-01-28 10:46:05 -0800</bug_when>
    <thetext>Added MathML CSS patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185555</commentid>
    <comment_count>18</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-01-28 11:11:18 -0800</bug_when>
    <thetext>Added bugs for munder/over and msubsup support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185968</commentid>
    <comment_count>19</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-01-29 14:34:46 -0800</bug_when>
    <thetext>Added patch for mrow and stretchy operator support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188888</commentid>
    <comment_count>20</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-02-08 21:08:18 -0800</bug_when>
    <thetext>Added mfrac patch bug (34741).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>189432</commentid>
    <comment_count>21</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-02-10 11:42:45 -0800</bug_when>
    <thetext>Removed bug 27413 from the depends on field.

I believe this bug (27413) is not related to MathML.  While I may be able to
do the same using a chunk of MathML encoded markup, this bug has to
do with specifically detecting and transforming sequences of unicode characters.

Such a transformation&apos;s implementation might want to use the MathML fraction
rendering object but it isn&apos;t really directly related to MathML&apos;s implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237524</commentid>
    <comment_count>22</comment_count>
    <who name="Alex Milowski">alex</who>
    <bug_when>2010-06-13 01:40:29 -0700</bug_when>
    <thetext>Added patch for RenderStyle change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2078403</commentid>
    <comment_count>24</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-12-01 21:30:52 -0800</bug_when>
    <thetext>Is this bug still useful? 
There are many open reports about MathML
but none ar linking to this one. 
https://bugs.webkit.org/buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;list_id=11795349&amp;query_format=advanced&amp;short_desc=mathml&amp;short_desc_type=allwordssubstr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2078415</commentid>
    <comment_count>25</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2024-12-01 22:20:17 -0800</bug_when>
    <thetext>No I think it can be closed indeed. I guess the meta bug these days would be https://bugs.webkit.org/show_bug.cgi?id=mathml-core</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>