mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Update web-platform-tests to revision 132d12daea699ce266324e79eecbe59b10e56502
This commit is contained in:
parent
527d874bc1
commit
fe00a63040
1004 changed files with 18598 additions and 92770 deletions
30
tests/wpt/web-platform-tests/interfaces/ResizeObserver.idl
Normal file
30
tests/wpt/web-platform-tests/interfaces/ResizeObserver.idl
Normal file
|
@ -0,0 +1,30 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the
|
||||
// "Resize Observer 1" spec.
|
||||
// See: https://wicg.github.io/ResizeObserver/
|
||||
|
||||
[Constructor(ResizeObserverCallback callback),
|
||||
Exposed=Window]
|
||||
interface ResizeObserver {
|
||||
void observe(Element target);
|
||||
void unobserve(Element target);
|
||||
void disconnect();
|
||||
};
|
||||
|
||||
callback ResizeObserverCallback = void (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
|
||||
|
||||
[Constructor(Element target)
|
||||
]
|
||||
interface ResizeObserverEntry {
|
||||
readonly attribute Element target;
|
||||
readonly attribute DOMRectReadOnly contentRect;
|
||||
};
|
||||
|
||||
[Constructor(Element target)
|
||||
]
|
||||
interface ResizeObservation {
|
||||
readonly attribute Element target;
|
||||
readonly attribute float broadcastWidth;
|
||||
readonly attribute float broadcastHeight;
|
||||
boolean isActive();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue