Skip to content
Browser.js is an implementation of MathML, HTML and SVG Layout Manager and CSS Processor (i.e. Browser) in JavaScript.
JavaScript HTML
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
demos update demos
dist
docs update docs
img
src update url
.gitignore First commit
Gruntfile.js
LICENSE
README.md Update README.md
bower.json
package.json

README.md

Browser.js

Browser.js is an implementation of MathML, HTML and SVG Layout Manager and CSS Processor (i.e. Browser) in JavaScript.

  • Part of a project that aims to render XHTML + MathML + SVG Profile,
  • W3C Working Draft [SVG is used as the Host Language]

Box

The sample demo above can bee seen Live Here.

SVG, MathML and XHTML Presentation models

XHTML, MathML and SVG use three different presentation models. But in order to display them together a common model should be defined. The MathML Layout Schemata Model has been chosen as the Layout Model for this mixed document (XHTML, MathML and SVG). Our view is that the CSS presentation model is not mature enough to handle such document unless we use CSS only to handle the SVG and XHTML components and leave MathML Figure 4 shows some common features between CSS Box model and MathML Layout Schemata Model which the design of this work benefits from.

Box

SVG on the other hand uses a less restricted model. But since SVG elements are to be mixed with XHTML and MathML elements then some restrictions have to be applied on them.

Download the original paper published in 2003 with more details here

Oea.svg

This appliation has been built using Oea.svg Framework, an SVG GUI and Graphics Library built after Java AWT. Oea Framework provides three Javascript libraries, 1- Java.js, 2- Draw2D.svg and 3- Swing.svg to build SVG GUI applications.

Install

Clone this repo and then run bower install. Check out the demo folder.

Something went wrong with that request. Please try again.