mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +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
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/Lubrsi
Commit: a2acda5669
Pull-request: https://github.com/SerenityOS/serenity/pull/12774
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