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:
bors-servo 2015-04-23 09:38:48 -05:00
commit 1b08211a5e
3 changed files with 43 additions and 12 deletions

View file

@ -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;
};