mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Implement Text.splitText()
This commit is contained in:
parent
a3dafe4999
commit
163d97d270
3 changed files with 43 additions and 12 deletions
|
@ -13,6 +13,7 @@
|
|||
// https://dom.spec.whatwg.org/#text
|
||||
[Constructor(optional DOMString data = "")]
|
||||
interface Text : CharacterData {
|
||||
//[NewObject] Text splitText(unsigned long offset);
|
||||
[NewObject, Throws]
|
||||
Text splitText(unsigned long offset);
|
||||
readonly attribute DOMString wholeText;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue