Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f96c4ccffa3594101129a4941c48476a2809ea60
https://github.com/WebKit/WebKit/commit/f96c4ccffa3594101129a4941c48476a2809ea60
Author: Ahmad Saleem <[email protected]>
Date: 2025-06-24 (Tue, 24 Jun 2025)
Changed paths:
M LayoutTests/fast/images/zoomed-img-size-expected.txt
M LayoutTests/fast/images/zoomed-img-size.html
M Source/WebCore/html/HTMLImageElement.cpp
Log Message:
-----------
HTMLImageElement: Zoom should not affect 'width' and 'height'
https://bugs.webkit.org/show_bug.cgi?id=292027
rdar://150473104
Reviewed by Alan Baradlay.
Merge:
https://chromium.googlesource.com/chromium/src.git/+/166592a28edb3051b1d667eb181686c2edefe496
This patch updates 'width' and 'height' to don't have 'snappedIntRect' and
update adjust to LayoutUnit with zoom with rounding to ensure that we don't
get any mismatch in width / height on zooming.
Additionally, this test updates 'zoomed-img-size.html' to use 'testharness'.
* LayoutTests/fast/images/zoomed-img-size-expected.txt:
* LayoutTests/fast/images/zoomed-img-size.html:
* Source/WebCore/html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::width):
(WebCore::HTMLImageElement::height):
Canonical link: https://commits.webkit.org/296596@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