mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
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:
parent
ed76b4238c
commit
a2acda5669
8 changed files with 86 additions and 42 deletions
8
Userland/Libraries/LibWeb/DOM/AbstractRange.idl
Normal file
8
Userland/Libraries/LibWeb/DOM/AbstractRange.idl
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue