| commit | e7d7225c33aa7fc42ee390125b01df9167fad106 | [log] [tgz] |
|---|---|---|
| author | fs <fs@opera.com> | Fri Jul 22 23:33:05 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 22 23:35:32 2016 |
| tree | ad55963a3f6cfc2686cc8524e4b776fe4113a746 | |
| parent | 5c7ce5d4d50500a169efaf836510703d1fd11b30 [diff] |
Make fragment-only URLs always be document-local references This implements the 'local url' handling per: https://drafts.csswg.org/css-values/#local-urls which is also referenced from: https://svgwg.org/svg2-draft/linking.html#linkRefAttrs Most of the logic is handled by a new helper class named SVGURLReferenceResolver, which keeps state, resolves the URL and extracts the fragment identifier as needed. BUG=470608 Review-Url: https://codereview.chromium.org/2174833002 Cr-Commit-Position: refs/heads/master@{#407299}