Remove restriction on document root for SVG resource documents
Apparently this is relied upon to some degree in the wild - and is
accepted even by Gecko.
This essentially reverts commit
c0fc33ebc49d00d0cd000cdacca562ec114bd4ac, but keeps the unittest with
adjusted pass condition.
Fixed: 342579971
Change-Id: I295a15fa5dacf75c9efa33ce6acc09b0f5433b6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5569742
Reviewed-by: Kouhei Ueno kouhei@chromium.org
Commit-Queue: Fredrik Söderquist fs@opera.com
Cr-Commit-Position: refs/heads/main@{#1306649}