CharacterData.idl 672 B

123456789101112131415161718
  1. #import <DOM/Element.idl>
  2. #import <DOM/Node.idl>
  3. interface CharacterData : Node {
  4. [LegacyNullToEmptyString] attribute DOMString data;
  5. readonly attribute unsigned long length;
  6. readonly attribute Element? nextElementSibling;
  7. readonly attribute Element? previousElementSibling;
  8. // FIXME: These should come from a ChildNode mixin
  9. [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
  10. [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
  11. [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
  12. [CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
  13. };