[webkit-changes] [WebKit/WebKit] 9db498: Serialize content of inline style with URL replace...
Sihui
noreply at github.com
Mon Nov 6 11:56:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9db4989f209cb35903d41dc8fc91c53801575bf2
https://github.com/WebKit/WebKit/commit/9db4989f209cb35903d41dc8fc91c53801575bf2
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M Source/WebCore/dom/StyledElement.cpp
M Source/WebCore/dom/StyledElement.h
M Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm
Log Message:
-----------
Serialize content of inline style with URL replacement
https://bugs.webkit.org/show_bug.cgi?id=264185
rdar://117926863
Reviewed by Ryosuke Niwa.
We need to replace URLs in inline style when saving web page to disk.
API Test: WebArchive.SaveResourcesInlineStyle
* Source/WebCore/dom/StyledElement.cpp:
(WebCore::StyledElement::replaceURLsInAttributeValue const):
* Source/WebCore/dom/StyledElement.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm:
Canonical link: https://commits.webkit.org/270281@main
More information about the webkit-changes
mailing list