DescriptionLook for favicon URLs (and similar <link>s) in SVG documents
Previously we were only looking for <link>s with icons within <head>,
and since SVG document don't have those, no icons would be found.
Instead, for SVG documents (with a root/document element of <svg>), just
collect all <link> (HTMLLinkElement) elements, regardless of position in
the document, using a pre-order traversal. This appears to match the
behavior of Gecko.
BUG=385466
Review-Url: https://codereview.chromium.org/2628873003
Cr-Commit-Position: refs/heads/master@{#443336}
Committed: https://chromium.googlesource.com/chromium/src/+/2546ba44189a370193e64d005aa554bd44490e1d
Patch Set 1 #Patch Set 2 : Find all <link>s in document (like Gecko.) #
Messages
Total messages: 21 (14 generated)
|