mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Make DOM::Range more suitable for JS.
This commit is contained in:
parent
4df0eeaa3d
commit
10f9c85090
Notes:
sideshowbarker
2024-07-19 00:56:55 +09:00
Author: https://github.com/asynts
Commit: 10f9c85090
Pull-request: https://github.com/SerenityOS/serenity/pull/4318
Reviewed-by: https://github.com/Lubrsi
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
11 changed files with 186 additions and 69 deletions
|
@ -68,7 +68,7 @@ public:
|
|||
|
||||
LayoutRange normalized() const;
|
||||
|
||||
DOM::Range to_dom_range() const;
|
||||
NonnullRefPtr<DOM::Range> to_dom_range() const;
|
||||
|
||||
private:
|
||||
LayoutPosition m_start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue