Skip to content

Implement interface CharacterData #25

@hepheir

Description

@hepheir
Owner

https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-FF21A306

Interface CharacterData

IDL Definition

More
interface CharacterData : Node {
           attribute  DOMString            data;
                                 // raises(DOMException) on setting
                                 // raises(DOMException) on retrieval
  readonly attribute  unsigned long        length;
  DOMString                 substringData(in unsigned long offset,
                                          in unsigned long count)
                                          raises(DOMException);
  void                      appendData(in DOMString arg)
                                       raises(DOMException);
  void                      insertData(in unsigned long offset,
                                       in DOMString arg)
                                       raises(DOMException);
  void                      deleteData(in unsigned long offset,
                                       in unsigned long count)
                                       raises(DOMException);
  void                      replaceData(in unsigned long offset,
                                        in unsigned long count,
                                        in DOMString arg)
                                        raises(DOMException);
};

Attributes

  • attribute DOMString data
    readonly attribute unsigned long length

Methods

  • // raises(DOMException) on setting
    // raises(DOMException) on retrieval
    DOMString substringData(in unsigned long offset, in unsigned long count)
    void appendData(in DOMString arg)
    void insertData(in unsigned long offset, in DOMString arg)
    void deleteData(in unsigned long offset, in unsigned long count)
    in unsigned long count, in DOMString arg)

Activity

self-assigned this
on Jun 4, 2021
added
enhancementNew feature or request
type:othersissues not falling in bug, perfromance, support, build and install or feature
and removed
enhancementNew feature or request
type:othersissues not falling in bug, perfromance, support, build and install or feature
on Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @hepheir

      Issue actions

        Implement interface `CharacterData` · Issue #25 · hepheir/Python-HTML-Parser