mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:32:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			827 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			827 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/ChildNode.idl>
 | |
| #import <DOM/Element.idl>
 | |
| #import <DOM/Node.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#characterdata
 | |
| [Exposed=Window]
 | |
| interface CharacterData : Node {
 | |
|     [LegacyNullToEmptyString] attribute DOMString data;
 | |
|     readonly attribute unsigned long length;
 | |
| 
 | |
|     DOMString substringData(unsigned long offset, unsigned long count);
 | |
|     undefined appendData(DOMString data);
 | |
|     undefined insertData(unsigned long offset, DOMString data);
 | |
|     undefined deleteData(unsigned long offset, unsigned long count);
 | |
|     undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
 | |
| 
 | |
|     // https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
 | |
|     readonly attribute Element? previousElementSibling;
 | |
|     readonly attribute Element? nextElementSibling;
 | |
| };
 | |
| 
 | |
| CharacterData includes ChildNode;
 | 
