I couldn't check the problem on the test yet. I'll check it later. Just opening the bug so that I don't forget it. The test definitely works on Safari 5.0
An exception is thrown, NOT_SUPPORTED_ERR here "result = attrVal.baseVal.getItem(0).value;" in node-svg-debug.js, line 107. I debugged using inspector and found it that this example queries a SVGTextElement grabbings its y.baseVal, which is a SVGLengthList, and calls getItem(0) to get the SVGLength object, and then value() to get a float.
As it throws an exception on SVGLength.value, SVGLength couldn't resolve the unit. Quick debugging shows that: alert(this._node.getAttribute("y")); indeed returns "-0.5em".
this._node has no renderer, at the point where the script tries to query the SVG DOM, that's why it can't resolve ems/exs/percentage units. Maybe we shouldn't throw though, I'll investigate.
I have a fix for this, will tidy it up tomorrow.
Created attachment 127151 [details]
Comment on attachment 127151 [details]
Committed r107923: <http://trac.webkit.org/changeset/107923>
Committed r113043: <http://trac.webkit.org/changeset/113043>