mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Add {,de}serialization steps for DOMRectReadonly
This commit is contained in:
committed by
Andreas Kling
parent
b7006b2423
commit
9f5fa4f4a0
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/9f5fa4f4a0 Pull-request: https://github.com/SerenityOS/serenity/pull/23538 Reviewed-by: https://github.com/ADKaster
@@ -35,6 +35,10 @@
|
||||
println(`instanceOf DOMPoint: ${domPoint instanceof DOMPoint}`);
|
||||
println(`DOMPoint: ${JSON.stringify(domPoint)}`);
|
||||
|
||||
let domRectReadOnly = structuredClone(new DOMRectReadOnly(10, 20, 30, 40));
|
||||
println(`instanceOf DOMRectReadOnly: ${domRectReadOnly instanceof DOMRectReadOnly}`);
|
||||
println(`DOMRectReadOnly: ${JSON.stringify(domRectReadOnly)}`);
|
||||
|
||||
done();
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user