Respect SVG fragment identifiers in <img> src attribute https://bugs.webkit.org/show_bug.cgi?id=129387

When providing an SVG image for a given renderer, check that the URL used to load
that image is taken into account in case it featured a fragment identifier, ensuring
that the CSS :target pseudo-class is correctly handled for SVG resources. This patch
is specific to <img> elements, specific support will also need to be added for various
CSS properties that support SVG images.

Based on the webkit patch by Antoine Quint <graouts@webkit.org>.

BUG=369513, 156584

Review URL: https://codereview.chromium.org/180973005

git-svn-id: svn://svn.chromium.org/blink/trunk@173213 bbb929c8-8fbe-4397-9dbb-9b2b20218538
9 files changed
tree: a0539b4ea6ba9db6db9acc507052a068f0561dc4
  1. third_party/