Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9db4989f209cb35903d41dc8fc91c53801575bf2
      
https://github.com/WebKit/WebKit/commit/9db4989f209cb35903d41dc8fc91c53801575bf2
  Author: Sihui Liu <sihui_...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to