I tried to fix positioning with my patch for bug 5358, but seem to have failed. I've attached a test case which I wrote which demonstrates the problem.
Created attachment 9993 [details] test positioning in xhtml
Should have a test for position:fixed also.
Created attachment 9999 [details] test positioning in xhtml This one now includes a position: fixed test. It should be noted that Firefox passes relative and fixed, opera passes all 3 tests. We don't seem to pass any yet, but it's hard to tell if we pass relative, since the content seems to overlap a bit.
Created attachment 12443 [details] Relative positioning test
Created attachment 12444 [details] Absolute positioning test
Created attachment 12445 [details] Fixed positioning test
Created attachment 12446 [details] Fixed positioning test
Created attachment 12447 [details] Patch that makes positioning work.
Comment on attachment 12447 [details] Patch that makes positioning work. Looks great! Congrats on your "first" SVG bug fix!
Fixed in r18855.