mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibWeb: Add the ResizeObserverBoxOptions IDL enum
This commit is contained in:
parent
110d73d786
commit
61fc3c31c6
Notes:
sideshowbarker
2024-07-17 16:20:28 +09:00
Author: https://github.com/IdanHo
Commit: 61fc3c31c6
Pull-request: https://github.com/SerenityOS/serenity/pull/13424
Reviewed-by: https://github.com/alimpfard ✅
3 changed files with 9 additions and 6 deletions
|
@ -12,9 +12,10 @@ interface ResizeObserver {
|
|||
|
||||
callback ResizeObserverCallback = void (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
|
||||
|
||||
dictionary ResizeObserverOptions {
|
||||
|
||||
// FIXME: This should be an enum.
|
||||
DOMString box = "content-box";
|
||||
|
||||
enum ResizeObserverBoxOptions {
|
||||
"border-box", "content-box", "device-pixel-content-box"
|
||||
};
|
||||
|
||||
dictionary ResizeObserverOptions {
|
||||
ResizeObserverBoxOptions box = "content-box";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue