mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 67ceba2e6a
			
		
	
	
		67ceba2e6a
		
	
	
	
	
		
			
			The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			226 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			226 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/CharacterData.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#text
 | |
| [Exposed=Window]
 | |
| interface Text : CharacterData {
 | |
|     constructor(optional DOMString data = "");
 | |
| 
 | |
|     [NewObject] Text splitText(unsigned long offset);
 | |
| 
 | |
| };
 |