Bug 275420

Summary: [Win][MiniBrowser] Render based on fractional device scale factor by using zoom factor
Product: WebKit Reporter: Kohei Asano <kohei.asano>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: PC   
OS: Windows 10   

Kohei Asano
Reported 2024-06-12 14:32:53 PDT
Non-integral device scale factor is possible on Windows, although it isn't on other platform e.g. Mac or GTK. Using fractional device scale factor isn't supported by current WebKit, rendering noises remain when repainting display. So far, we set custom device scale factor value 1 and used zoom factor instead of device scale factor to avoid these noises. But using zoom factor doesn't scale scroll bar width, it seems weird especially on high DPI. It's better to round device scale factor, scale the contents based on integral device scale factor and let MiniBrowser adjust by page zoom factor.
Attachments
Kohei Asano
Comment 1 2024-06-12 14:45:51 PDT
EWS
Comment 2 2024-06-12 16:36:22 PDT
Committed 279967@main (007289d10afb): <https://commits.webkit.org/279967@main> Reviewed commits have been landed. Closing PR #29768 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-06-12 16:37:13 PDT
Note You need to log in before you can comment on or make changes to this bug.