Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=260724 rdar://114462749 Reviewed by Youenn Fablet. Add support for the crossorigin attribute to SVGImageElement in a manner analogous to HTMLImageElement. Also remove a duplicate parser for the crossorigin attribute in HTMLImageElement. * LayoutTests/imported/w3c/web-platform-tests/svg/idlharness.window-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.crossOriginSource.sub.html: * Source/WebCore/html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::attributeChanged): (): Deleted. (WebCore::parseCrossoriginState): Deleted. * Source/WebCore/svg/SVGImageElement.cpp: (WebCore::SVGImageElement::attributeChanged): (WebCore::SVGImageElement::setCrossOrigin): (WebCore::SVGImageElement::crossOrigin const): * Source/WebCore/svg/SVGImageElement.h: * Source/WebCore/svg/SVGImageElement.idl: Canonical link: https://commits.webkit.org/267349@main
- Loading branch information