[webkit-changes] [WebKit/WebKit] b9164e: Remove code behind ENABLE(CSS_IMAGE_RESOLUTION)

Tim Nguyen noreply at github.com
Fri Jun 9 20:17:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b9164e8e13aef189473d305bfb3bfd19fa73a740
      https://github.com/WebKit/WebKit/commit/b9164e8e13aef189473d305bfb3bfd19fa73a740
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    R LayoutTests/fast/css/image-resolution/image-resolution-expected.txt
    R LayoutTests/fast/css/image-resolution/image-resolution.html
    M LayoutTests/platform/gtk/TestExpectations
    R LayoutTests/platform/gtk/fast/css/image-resolution/image-resolution-expected.txt
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M LayoutTests/platform/wincairo/TestExpectations
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/CSSValueKeywords.in
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/rendering/RenderImage.cpp
    M Source/WebCore/rendering/style/RenderStyle.cpp
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleInlines.h
    M Source/WebCore/rendering/style/RenderStyleSetters.h
    M Source/WebCore/rendering/style/StyleRareInheritedData.cpp
    M Source/WebCore/rendering/style/StyleRareInheritedData.h
    M Source/WebCore/style/StyleBuilderCustom.h
    M Source/cmake/WebKitFeatures.cmake
    M Tools/Scripts/webkitperl/FeatureList.pm

  Log Message:
  -----------
  Remove code behind ENABLE(CSS_IMAGE_RESOLUTION)
https://bugs.webkit.org/show_bug.cgi?id=257927
rdar://110556754

Reviewed by Darin Adler.

Remove dead code that doesn't compile.

* LayoutTests/fast/css/image-resolution/image-resolution-expected.txt: Removed.
* LayoutTests/fast/css/image-resolution/image-resolution.html: Removed.
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/gtk/fast/css/image-resolution/image-resolution-expected.txt: Removed.
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* LayoutTests/platform/wincairo/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):
* Source/WebCore/rendering/RenderImage.cpp:
(WebCore::RenderImage::styleDidChange):
(WebCore::RenderImage::repaintOrMarkForLayout):
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::rareInheritedDataChangeRequiresLayout):
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleInlines.h:
(WebCore::RenderStyle::imageResolution const): Deleted.
(WebCore::RenderStyle::imageResolutionSnap const): Deleted.
(WebCore::RenderStyle::imageResolutionSource const): Deleted.
* Source/WebCore/rendering/style/RenderStyleSetters.h:
(WebCore::RenderStyle::setImageResolution): Deleted.
(WebCore::RenderStyle::setImageResolutionSnap): Deleted.
(WebCore::RenderStyle::setImageResolutionSource): Deleted.
* Source/WebCore/rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator== const):
* Source/WebCore/rendering/style/StyleRareInheritedData.h:
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyInheritImageResolution): Deleted.
(WebCore::Style::BuilderCustom::applyInitialImageResolution): Deleted.
(WebCore::Style::BuilderCustom::applyValueImageResolution): Deleted.
* Source/cmake/WebKitFeatures.cmake:
* Tools/Scripts/webkitperl/FeatureList.pm:

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




More information about the webkit-changes mailing list