mirror of
https://github.com/servo/servo.git
synced 2025-10-14 23:40:26 +01:00
25 lines
726 B
Text
25 lines
726 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Visual Viewport API (https://wicg.github.io/visual-viewport/)
|
|
|
|
partial interface Window {
|
|
[SameObject, Replaceable] readonly attribute VisualViewport visualViewport;
|
|
};
|
|
|
|
[Exposed=Window]
|
|
interface VisualViewport : EventTarget {
|
|
readonly attribute double offsetLeft;
|
|
readonly attribute double offsetTop;
|
|
|
|
readonly attribute double pageLeft;
|
|
readonly attribute double pageTop;
|
|
|
|
readonly attribute double width;
|
|
readonly attribute double height;
|
|
|
|
readonly attribute double scale;
|
|
|
|
attribute EventHandler onresize;
|
|
attribute EventHandler onscroll;
|
|
};
|