mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			388 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			388 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Document.idl>
 | |
| 
 | |
| enum DOMParserSupportedType {
 | |
|     "text/html",
 | |
|     "text/xml",
 | |
|     "application/xml",
 | |
|     "application/xhtml+xml",
 | |
|     "image/svg+xml"
 | |
| };
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser
 | |
| [Exposed=Window]
 | |
| interface DOMParser {
 | |
|     constructor();
 | |
| 
 | |
|     Document parseFromString(DOMString string, DOMParserSupportedType type);
 | |
| };
 | 
