WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301807
[CSS Zoom] Page zoom should affect devicePixelRatio equally in all frames
https://bugs.webkit.org/show_bug.cgi?id=301807
Summary
[CSS Zoom] Page zoom should affect devicePixelRatio equally in all frames
Simon Fraser (smfr)
Reported
2025-11-01 10:27:17 PDT
Created
attachment 477251
[details]
Test case The test case shows that, as of
302393@main
, zooming via Comand-+ causes devicePixelRatio to not change in the main frame, but to increase in subframes. That's wrong; it should either not change, or have the same value in all subframes.
Attachments
Test case
(820 bytes, text/html)
2025-11-01 10:27 PDT
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-11-01 10:27:23 PDT
<
rdar://problem/163857955
>
Simon Fraser (smfr)
Comment 2
2025-11-01 10:29:08 PDT
Output on Command-+ n Webkit: Resize event Main frame devicePixelRatio: 2 iframe devicePixelRatio: 2.299999952316284 In Chrome: Resize event Main frame devicePixelRatio: 2.200000047683716 iframe devicePixelRatio: 2.200000047683716
Matthieu Dubet
Comment 3
2025-11-06 11:57:33 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53546
EWS
Comment 4
2025-11-21 09:36:28 PST
Committed
303397@main
(bdfffc7361a6): <
https://commits.webkit.org/303397@main
> Reviewed commits have been landed. Closing PR #53546 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug