[webkit-changes] [WebKit/WebKit] 8113b3: Remove Quirk shouldDisableLazyImageLoading for Ike...

Karl Dubost noreply at github.com
Fri May 19 08:40:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8113b3ee5ee91698e1b8d3a37f8ce153112ec644
      https://github.com/WebKit/WebKit/commit/8113b3ee5ee91698e1b8d3a37f8ce153112ec644
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/html/HTMLImageElement.idl
    M Source/WebCore/html/parser/HTMLPreloadScanner.cpp
    M Source/WebCore/loader/ImageLoader.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Remove Quirk shouldDisableLazyImageLoading for Ikea.com
https://bugs.webkit.org/show_bug.cgi?id=257007
rdar://109547199

Reviewed by Chris Dumez.

Removes the lazy images loading necessary for Ikea. The Ikea Web
team has fixed their code and the images are now loading into
Safari without issues. This also re-enable the normal preference
setting for disabling/enabling Lazy Image loading.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::lazyImageLoadingEnabled const): Deleted.
* Source/WebCore/dom/Document.h:
* Source/WebCore/html/HTMLImageElement.idl:
* Source/WebCore/html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::StartTagScanner::processAttribute):
* Source/WebCore/loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisableLazyImageLoadingQuirk const): Deleted.
* Source/WebCore/page/Quirks.h:

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




More information about the webkit-changes mailing list