mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00:00
LibWeb: Add Document.createRange()
Also tidy up DOM::Range a little bit while we're here, and unify the way we create them to use a delegating constructors.
This commit is contained in:
parent
ff018607a1
commit
9194a97cbe
Notes:
sideshowbarker
2024-07-18 22:01:22 +09:00
Author: https://github.com/awesomekling
Commit: 9194a97cbe
6 changed files with 42 additions and 21 deletions
|
@ -27,6 +27,7 @@ interface Document : Node {
|
|||
DocumentFragment createDocumentFragment();
|
||||
Text createTextNode(DOMString data);
|
||||
Comment createComment(DOMString data);
|
||||
Range createRange();
|
||||
|
||||
readonly attribute DOMString compatMode;
|
||||
readonly attribute DocumentType? doctype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue