Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4d919a3865cab0225bc073a4c01527cc12135ac5
https://github.com/WebKit/WebKit/commit/4d919a3865cab0225bc073a4c01527cc12135ac5
Author: Sammy Gill <[email protected]>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M LayoutTests/fast/css/viewport-units-zoom-expected.html
M LayoutTests/fast/css/viewport-units-zoom.html
Log Message:
-----------
Change fast/css/viewport-units-zoom.html to use setPageZoomFactor
https://bugs.webkit.org/show_bug.cgi?id=301404
rdar://163316825
Reviewed by Lily Spiniolas.
This test was added in 196138@main in order to address a bug related to
page scale factor and viewport relative units. It seems like viewport
relative units should *not* be affected by page scale factor. However,
the test uses css-zoom to try and replicate this behavior which is
actually supposted to scale viewport units.
To address this we can change the test to use the setPageZoomFactor
in Internals. The test itself has a div with fixed height and width that
uses viewport units and sets the page scale factor. The expected is
basically the same with the height multiplied by 2. When the page scale
factor is applied, the width of the div should remain the same but the
height should get doubled like in the expectation.
* LayoutTests/fast/css/viewport-units-zoom-expected.html:
* LayoutTests/fast/css/viewport-units-zoom.html:
Canonical link: https://commits.webkit.org/302275@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications