I never finished this, but I'm sharing it so @card100 can look at my code for a similar project ------------ Doesn't actually use the XML parser I wrote, as it would appear @Zro716 wrote a far better one. Uses @djpro's text engine RGBA stuff adapted from stuff by @junebeetle and @PullJosh Some guidance from here: https://limpet.net/mbrubeck/2014/08/13/toy-layout-engine-3-css.html The default CSS is adapted from Webkit's: http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css