Rebase documents must clone root attributes
The attributes of the svg root tag itself were ignored in the rebase function leading to extensions being unable to modify them.
Fixes #4167 (closed)
The attributes of the svg root tag itself were ignored in the rebase function leading to extensions being unable to modify them.
Fixes #4167 (closed)