mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
implement basic infra for ResizeObserver (#31108)
This commit is contained in:
parent
3c1c395dfc
commit
3d78d60619
29 changed files with 706 additions and 4 deletions
11
components/script/dom/webidls/ResizeObserverSize.webidl
Normal file
11
components/script/dom/webidls/ResizeObserverSize.webidl
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://drafts.csswg.org/resize-observer/#resizeobserversize
|
||||
|
||||
[Pref="dom.resize_observer.enabled", Exposed=Window]
|
||||
interface ResizeObserverSize {
|
||||
readonly attribute unrestricted double inlineSize;
|
||||
readonly attribute unrestricted double blockSize;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue