Skip to content

merge_pr_6795

In this CL, we add the devicePixelRatio property to the
PaintWorkletGlobalScope.idl. This property could be useful for
developers to draw perfect graphics on high DPI devices.

A test is added to ensure that this property has the same value as the
window.devicePixelRatio.

Bug: 728599
Change-Id: Ia6179164989d4f564df06a87f1399adff19a0599
Reviewed-on: https://chromium-review.googlesource.com/602367
WPT-Export-Revision: 36444861995573c9b85feef38ee26da8c5502b1a
Assets 2
Loading