forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checks for the case of data url in SVGURIReference.
https://bugs.webkit.org/show_bug.cgi?id=149460 Reviewed by Said Abou-Hallawa. Add check for the case of data url in SVGURIReference. The test still fails as it returns nullptr for the element in data url case in SVGURIReference::targetElementFromIRIString(). We need to load the data url in a Document to be able to get the target element for the corresponding fragement ID. * LayoutTests/TestExpectations: * Source/WebCore/svg/SVGURIReference.cpp: (WebCore::SVGURIReference::targetElementFromIRIString): (WebCore::SVGURIReference::haveLoadedRequiredResources const): * Source/WebCore/svg/SVGUseElement.cpp: (WebCore::SVGUseElement::updateExternalDocument): Canonical link: https://commits.webkit.org/285321@main
- Loading branch information
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters