mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Convert trivial attributes to FrozenArray
This commit is contained in:
parent
62167d923c
commit
ad34fdad48
Notes:
github-actions[bot]
2025-04-25 14:44:52 +00:00
Author: https://github.com/trflynn89
Commit: ad34fdad48
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4473
Reviewed-by: https://github.com/gmta ✅
6 changed files with 10 additions and 17 deletions
|
@ -6,10 +6,7 @@
|
|||
interface ResizeObserverEntry {
|
||||
readonly attribute Element target;
|
||||
readonly attribute DOMRectReadOnly contentRect;
|
||||
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
|
||||
[ImplementedAs=border_box_size_js_array] readonly attribute any borderBoxSize;
|
||||
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
|
||||
[ImplementedAs=content_box_size_js_array] readonly attribute any contentBoxSize;
|
||||
// FIXME: Return FrozenArray<ResizeObserverSize> instead of any.
|
||||
[ImplementedAs=device_pixel_content_box_size_js_array] readonly attribute any devicePixelContentBoxSize;
|
||||
readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize;
|
||||
readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize;
|
||||
readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue