The "dominant-baseline" attribute allows to control how a <text> element's baseline is located compared to origin coordinates of the element itself. This testcase demonstrates the usage of dominant-baseline="hanging" in order to have a <text> element's string drawn as "hanging" from the top-left corner of its bounding box.
Created attachment 6024 [details] Testcase for "dominant-baseline" attribute with value "hanging"
Thanks for the great test case. I think this is already covered by the more generic bug: http://bugzilla.opendarwin.org/show_bug.cgi?id=6424 however. *** This bug has been marked as a duplicate of 6424 ***