mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Auto merge of #5806 - nox:splittext, r=Ms2ger
<!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5806) <!-- Reviewable:end -->
This commit is contained in:
commit
1b08211a5e
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