A web browser implemented in ruby
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitattributes
.gitignore
LICENSE.txt
README.md
SPEC.md
bootstrap.rb
browser.sublime-project
browser.sublime-workspace

README.md

Browser

A web browser implemented in ruby

Features

  • HTML Parser
  • CSS Support (no parser)
  • Ruby-style DOM and SOM (Style Object Model)

Example

doc = Browser::HTMLParser.parse <<-HTML
<h1><b>Browser</b> is <b>AWESOME!!!</b></h1>
HTML

doc.children.first.name == :h1