mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibWeb/HTML: Port Window.inner{Width,Height} to IDL
This commit is contained in:
parent
0c691087ca
commit
25f53a577d
3 changed files with 27 additions and 40 deletions
|
@ -48,6 +48,10 @@ interface Window : EventTarget {
|
|||
[NewObject] MediaQueryList matchMedia(CSSOMString query);
|
||||
[SameObject, Replaceable] readonly attribute Screen screen;
|
||||
|
||||
// viewport
|
||||
[Replaceable] readonly attribute long innerWidth;
|
||||
[Replaceable] readonly attribute long innerHeight;
|
||||
|
||||
// FIXME: Everything from here on should be shared through WindowOrWorkerGlobalScope
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
[Replaceable] readonly attribute Performance performance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue