dart-lang/dart-web-components — pull request #14 by jmesserly (2012-08-14 23:04:13+00:00)
Title: remove CSS dependency from html parser & various refactoring

refactors html parser:

* no css dependency
* fix non-constant switch
* simplify element lookup (the existing code was slow already: it linear searched all tag names and contained an unnecessary dict lookup; new code is slow but at least simple! the fast approach is documented in a TODO, but I haven't implemented yet).
* remove Dart string interpolation

R=@sigmundch, @terrylucas