Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1d46d6999740b7e33536645aadfdc0a45afce20e https://github.com/WebKit/WebKit/commit/1d46d6999740b7e33536645aadfdc0a45afce20e Author: Aditya Keerthi <akeer...@apple.com> Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths: M Source/WebCore/editing/cocoa/AttributedString.h M Source/WebCore/editing/cocoa/AttributedString.mm M Source/WebCore/editing/cocoa/HTMLConverter.mm M Source/WebCore/editing/cocoa/TextAttachmentForSerialization.h M Source/WebCore/html/HTMLImageElement.cpp M Source/WebCore/html/HTMLImageElement.h M Source/WebCore/platform/graphics/ImageAdapter.h M Source/WebCore/platform/graphics/mac/ImageAdapterMac.mm M Source/WebCore/platform/ios/UIFoundationSoftLink.h M Source/WebCore/platform/ios/UIFoundationSoftLink.mm M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in Log Message: ----------- [MultiRep HEIC] Ensure data is preserved when copying rich content https://bugs.webkit.org/show_bug.cgi?id=269348 rdar://122932418 Reviewed by Richard Robinson. * Source/WebCore/editing/cocoa/AttributedString.h: * Source/WebCore/editing/cocoa/AttributedString.mm: Decompose the attachment into individual bitmaps for serialization. (WebCore::toNSObject): (WebCore::extractValue): * Source/WebCore/editing/cocoa/HTMLConverter.mm: Add a HEIC attachment to the attributed string when a multi-representation HEIC is encountered. (HTMLConverter::_addMultiRepresentationHEICAttachmentForImageElement): (HTMLConverter::_processElement): (attachmentForElement): (WebCore::editingAttributedString): * Source/WebCore/editing/cocoa/TextAttachmentForSerialization.h: * Source/WebCore/html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::isMultiRepresentationHEIC const): * Source/WebCore/html/HTMLImageElement.h: * Source/WebCore/platform/graphics/ImageAdapter.h: * Source/WebCore/platform/graphics/mac/ImageAdapterMac.mm: (WebCore::ImageAdapter::multiRepresentationHEIC): (WebCore::ImageAdapter::invalidate): * Source/WebCore/platform/ios/UIFoundationSoftLink.h: * Source/WebCore/platform/ios/UIFoundationSoftLink.mm: * Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in: * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: Canonical link: https://commits.webkit.org/274690@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes