mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibWeb/HTML: Port Window.devicePixelRatio to IDL
This commit is contained in:
parent
46e547d774
commit
8454eb874f
3 changed files with 14 additions and 17 deletions
|
@ -71,6 +71,7 @@ interface Window : EventTarget {
|
|||
[Replaceable, ImplementedAs=screen_y] readonly attribute long screenTop;
|
||||
[Replaceable] readonly attribute long outerWidth;
|
||||
[Replaceable] readonly attribute long outerHeight;
|
||||
[Replaceable] readonly attribute double devicePixelRatio;
|
||||
|
||||
// FIXME: Everything from here on should be shared through WindowOrWorkerGlobalScope
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue