LibWeb: Abstract Range's members into AbstractRange

Range's member variables are stored in AbstractRange as per the spec,
as they are also shared with StaticRange.
This commit is contained in:
Luke Wilde 2022-01-30 23:35:51 +00:00 committed by Andreas Kling
commit a2acda5669
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00
8 changed files with 86 additions and 42 deletions

View file

@ -0,0 +1,8 @@
[Exposed=Window]
interface AbstractRange {
readonly attribute Node startContainer;
readonly attribute unsigned long startOffset;
readonly attribute Node endContainer;
readonly attribute unsigned long endOffset;
readonly attribute boolean collapsed;
};