mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20:51 +00:00
Merge pull request #832 from myelin-ai/device-pixel-ratio
Add devicePixelRatio to Window
This commit is contained in:
commit
1ee579093b
1
crates/web-sys/webidls/enabled/Window.webidl
vendored
1
crates/web-sys/webidls/enabled/Window.webidl
vendored
@ -198,6 +198,7 @@ partial interface Window {
|
||||
[Throws, NeedsCallerType] attribute any screenY;
|
||||
[Throws, NeedsCallerType] attribute any outerWidth;
|
||||
[Throws, NeedsCallerType] attribute any outerHeight;
|
||||
[Replaceable] readonly attribute double devicePixelRatio;
|
||||
};
|
||||
|
||||
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user