Merge pull request #2931 from lightpanda-io/ResizeObserver-Observer-Default

webapi: ResizeObserver.observer box option default
This commit is contained in:
Karl Seguin
2026-07-13 23:28:18 +08:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ fn init(cbk: js.Function) ResizeObserver {
}
const Options = struct {
box: []const u8,
box: []const u8 = "content-box",
};
pub fn observe(self: *const ResizeObserver, element: *Element, options_: ?Options) void {
_ = self;