diff options
Diffstat (limited to 'Source/WebCore/dom/Text.idl')
-rw-r--r-- | Source/WebCore/dom/Text.idl | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/Source/WebCore/dom/Text.idl b/Source/WebCore/dom/Text.idl index 00c9e4765..831224d01 100644 --- a/Source/WebCore/dom/Text.idl +++ b/Source/WebCore/dom/Text.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Apple Computer, Inc. + * Copyright (C) 2006 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -16,22 +16,15 @@ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ + [ - Constructor([Default=NullString] optional DOMString data), - ConstructorCallWith=ScriptExecutionContext + Constructor(optional DOMString data), + ConstructorCallWith=Document, + CustomToJSObject, ] interface Text : CharacterData { + [MayThrowException] Text splitText(unsigned long offset); - // DOM Level 1 - - [RaisesException] Text splitText([IsIndex,Default=Undefined] optional unsigned long offset); - - // Introduced in DOM Level 3: - readonly attribute DOMString wholeText; - [RaisesException] Text replaceWholeText([Default=Undefined] optional DOMString content); - // ShadowAware API -#if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM && defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - [ImplementedAs=insertionParentForBinding] readonly attribute Node webkitInsertionParent; -#endif - + readonly attribute DOMString wholeText; }; +Text implements Slotable; |