CharacterData.idl 831 B

123456789101112131415161718192021
  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. DOMString substringData(unsigned long offset, unsigned long count);
  7. undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
  8. readonly attribute Element? nextElementSibling;
  9. readonly attribute Element? previousElementSibling;
  10. // FIXME: These should come from a ChildNode mixin
  11. [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
  12. [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
  13. [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
  14. [CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
  15. };