Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 51e09bbdbd3f2730fb928d58c323218d769c7a4d https://github.com/WebKit/WebKit/commit/51e09bbdbd3f2730fb928d58c323218d769c7a4d Author: Anne van Kesteren <ann...@annevk.nl> Date: 2023-11-09 (Thu, 09 Nov 2023)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html M LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/content-aspect-ratio.html M LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml M Source/WebCore/html/HTMLElement.cpp M Source/WebCore/rendering/RenderImage.cpp M Source/WebKitLegacy/mac/WebView/WebPreferences.mm M Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h Log Message: ----------- Remove AspectRatioOfImgFromWidthAndHeightEnabled preference https://bugs.webkit.org/show_bug.cgi?id=264482 rdar://118175875 Reviewed by Tim Nguyen. This flag was last touched well over two years ago in 235862@main. * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html: * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/content-aspect-ratio.html: * LayoutTests/imported/w3c/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html: * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WebCore/html/HTMLElement.cpp: (WebCore::HTMLElement::applyAspectRatioFromWidthAndHeightAttributesToStyle): (WebCore::HTMLElement::applyAspectRatioWithoutDimensionalRulesFromWidthAndHeightAttributesToStyle): * Source/WebCore/rendering/RenderImage.cpp: (WebCore::RenderImage::computeIntrinsicRatioInformation const): * Source/WebKitLegacy/mac/WebView/WebPreferences.mm: (-[WebPreferences aspectRatioOfImgFromWidthAndHeightEnabled]): (-[WebPreferences setAspectRatioOfImgFromWidthAndHeightEnabled:]): * Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h: Canonical link: https://commits.webkit.org/270457@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes