[e] (0) Tidy the 'trace a path' algorithm
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8314 340c8d12-0b0e-0410-8428-c7bf67bfef74