diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/element-timing.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/element-timing.idl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/element-timing.idl b/testing/web-platform/tests/interfaces/element-timing.idl new file mode 100644 index 0000000000..70ca384894 --- /dev/null +++ b/testing/web-platform/tests/interfaces/element-timing.idl @@ -0,0 +1,22 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Element Timing API (https://wicg.github.io/element-timing/) + +[Exposed=Window] +interface PerformanceElementTiming : PerformanceEntry { + readonly attribute DOMHighResTimeStamp renderTime; + readonly attribute DOMHighResTimeStamp loadTime; + readonly attribute DOMRectReadOnly intersectionRect; + readonly attribute DOMString identifier; + readonly attribute unsigned long naturalWidth; + readonly attribute unsigned long naturalHeight; + readonly attribute DOMString id; + readonly attribute Element? element; + readonly attribute DOMString url; + [Default] object toJSON(); +}; + +partial interface Element { + [CEReactions] attribute DOMString elementTiming; +}; |