1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

LibWeb: Generate JS bindings for Range from IDL :^)

This commit is contained in:
Andreas Kling 2021-01-23 17:58:14 +01:00
parent 8a9853d5da
commit cfa2fb2eb3
8 changed files with 14 additions and 421 deletions

View file

@ -0,0 +1,13 @@
interface Range {
readonly attribute Node startContainer;
readonly attribute unsigned long startOffset;
readonly attribute Node endContainer;
readonly attribute unsigned long endOffset;
undefined setStart(Node node, unsigned long offset);
undefined setEnd(Node node, unsigned long offset);
Range cloneRange();
};