summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/CharacterData.idl
blob: a9c75905268a41db97f8567dc21739fdff8e6051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import <DOM/Element.idl>
#import <DOM/Node.idl>

interface CharacterData : Node {

    [LegacyNullToEmptyString] attribute DOMString data;
    readonly attribute unsigned long length;

    readonly attribute Element? nextElementSibling;
    readonly attribute Element? previousElementSibling;

    // FIXME: These should come from a ChildNode mixin
    [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
    [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
    [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
    [CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();

};