mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
LibWeb: Add {,de}serialization steps for DOMRectReadonly
This commit is contained in:
parent
b7006b2423
commit
9f5fa4f4a0
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/kennethmyhra
Commit: 9f5fa4f4a0
Pull-request: https://github.com/SerenityOS/serenity/pull/23538
Reviewed-by: https://github.com/ADKaster
5 changed files with 63 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue