mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:52:43 +00:00 
			
		
		
		
	 d4a890080d
			
		
	
	
		d4a890080d
		
	
	
	
	
		
			
			NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			779 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			779 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/ChildNode.idl>
 | |
| #import <DOM/Element.idl>
 | |
| #import <DOM/Node.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#characterdata
 | |
| [Exposed=Window, UseDeprecatedAKString]
 | |
| 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);
 | |
| 
 | |
|     readonly attribute Element? nextElementSibling;
 | |
|     readonly attribute Element? previousElementSibling;
 | |
| };
 | |
| 
 | |
| CharacterData includes ChildNode;
 |