mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Convert trivial attributes to FrozenArray
This commit is contained in:
committed by
Jelle Raaijmakers
parent
62167d923c
commit
ad34fdad48
Notes:
github-actions[bot]
2025-04-25 14:44:52 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ad34fdad48b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4473 Reviewed-by: https://github.com/gmta ✅
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user