mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-08-02 02:36:06 -04:00
Merge pull request #2931 from lightpanda-io/ResizeObserver-Observer-Default
webapi: ResizeObserver.observer box option default
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user