layout-instability.idl (694B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Layout Instability API (https://wicg.github.io/layout-instability/) 5 6 [Exposed=Window] 7 interface LayoutShift : PerformanceEntry { 8 readonly attribute double value; 9 readonly attribute boolean hadRecentInput; 10 readonly attribute DOMHighResTimeStamp lastInputTime; 11 readonly attribute FrozenArray<LayoutShiftAttribution> sources; 12 [Default] object toJSON(); 13 }; 14 15 [Exposed=Window] 16 interface LayoutShiftAttribution { 17 readonly attribute Node? node; 18 readonly attribute DOMRectReadOnly previousRect; 19 readonly attribute DOMRectReadOnly currentRect; 20 };