SteveSanderson/knockout — pull request #337 by GilesBradshaw (2012-02-21 13:48:21+00:00)
Title: Fix CSS binding so it works on SVG nodes

the className property of an SVG node is not a string but an SVG animated string https://developer.mozilla.org/en/DOM/SVGAnimatedString this fix checks to see if it is a string or an object and if it is an object it uses its baseVal property if it has one. initial commit adds a failing spec - second commit fixes it