Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08818578ff16b0ffa5fcb51d22a55f0bce00b4ca
      
https://github.com/WebKit/WebKit/commit/08818578ff16b0ffa5fcb51d22a55f0bce00b4ca
  Author: Sihui Liu <[email protected]>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M Source/WebCore/css/CSSMediaRule.cpp
    M Source/WebCore/css/CSSMediaRule.h
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm

  Log Message:
  -----------
  Serialize CSSMediaRule with URL replacement
https://bugs.webkit.org/show_bug.cgi?id=271285
rdar://121207334

Reviewed by Ryosuke Niwa.

This patch fixes the issue that subresources URLs in CSSMediaRule are not 
rewritten when saving web page resources by
adding implementation for CSSMediaRule::cssTextWithReplacementURLs().

API test: WebArchive.SaveResourcesCSSMediaRule

* Source/WebCore/css/CSSMediaRule.cpp:
(WebCore::CSSMediaRule::cssTextWithReplacementURLs const):
* Source/WebCore/css/CSSMediaRule.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm:

Canonical link: https://commits.webkit.org/276387@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to