r. alexander milowski, geek

MAA Session 2010 - WebKit + MathML

Why Native Support?

  • fast/reliable support for mobile platforms,
  • inherent support without author or user action,
  • support for dynamic interactivity,
  • "the only way" for WebKit.

Getting Your Own

  1. Get the code via the directions at http://www.webkit.org/
  2. Apply the monster patch.
  3. Build webkit:  WebKitTools/Scripts/build-webkit --mathml
  4. Run it:   WebKitTools/Scripts/run-safari

...or ask me for a pre-built binary.

Yeah, it isn't for the timid.

Contributing

Status

  • Not much is checked into the "trunk" of WebKit.
  • Changes to WebKit are accomplished via "patches".
  • ...small patches.
  • They are reviewed and committed by a small number of individuals.
  • My patches go through an even smaller set of "qualified" reviewers.
  • That means the process is slow.

Comprehensive

Tables

Basics

  • Fractions:
  • Sub: Super: Both:
  • Over: Under: Both:
  • Fencing:

Stretchy Operators

16px:

32px:

48px:

My Initial Goals

  • MathML support on the mobile platform.
  • MathML support in all WebKit based browsers.
  • Implement a sufficient subset of MathML 2.0 necessary for displaying high school and college mathematics.
  • Enable MathML support in forthcoming HTML5-based browsers.

What is WebKit

  • WebKit is the core browser technology in:
    • iphone & ipod touch,
    • andriod phones (e.g. t-mobile g-1),
    • safari, chrome, and many more browsers.
  • It handles the rendering and interactivity for the whole web browsing experience.
  • WebKit already supports HTML, XHTML, SVG, and CSS quite extensively.

WebKit + MathML

Implementing MathML in WebKit

R. Alexander Milowski