[webkit-changes] [WebKit/WebKit] 873115: Implement list of available images matching logic

Przemyslaw Gorszkowski noreply at github.com
Thu Oct 12 00:39:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 873115a0db7463b32eb5ef31965be9f8b21bcbb7
      https://github.com/WebKit/WebKit/commit/873115a0db7463b32eb5ef31965be9f8b21bcbb7
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-available-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-use-list-of-available-images-expected.txt
    M Source/WebCore/loader/ImageLoader.cpp

  Log Message:
  -----------
  Implement list of available images matching logic
 https://bugs.webkit.org/show_bug.cgi?id=243790

Reviewed by Sihui Liu and Chris Dumez.

Implement list of available images matching logic:
https://html.spec.whatwg.org/multipage/images.html#updating-the-image-data:list-of-available-images

This is restricted to lazy loading for now.

* LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-available-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-use-list-of-available-images-expected.txt:
* Source/WebCore/loader/ImageLoader.cpp:
(WebCore::canReuseFromListOfAvailableImages):
(WebCore::ImageLoader::updateFromElement):

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




More information about the webkit-changes mailing list