WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287955
[WPEPlatform] Restrict values used for screen output device scaling
https://bugs.webkit.org/show_bug.cgi?id=287955
Summary
[WPEPlatform] Restrict values used for screen output device scaling
Adrian Perez
Reported
2025-02-19 06:37:44 PST
Currently we allow values between 0.0 and G_MAXDOUBLE for the Screen:scale property, but the zero value should be forbidden to avoid ending up with a 0x0 physical output pixel size, and too high values would cause huge output pixel sizes. In practice, allowing scaling by twenty times smaller (0.05) or bigger (20.0) than 1:1 rendering should be way more than enough for any use case.
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2025-02-19 06:45:34 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40850
EWS
Comment 2
2025-02-20 01:42:45 PST
Committed
290696@main
(d09efa1a1a10): <
https://commits.webkit.org/290696@main
> Reviewed commits have been landed. Closing PR #40850 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