mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:42:43 +00:00 
			
		
		
		
	 19d6884529
			
		
	
	
		19d6884529
		
	
	
	
	
		
			
			This allows us to determine which mode to render the page in. Exposes "doctype" and "compatMode" on Document. Exposes "name", "publicId" and "systemId" on DocumentType.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			425 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			425 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface Document : Node {
 | |
| 
 | |
|     Element? getElementById(DOMString id);
 | |
|     Element? querySelector(DOMString selectors);
 | |
|     ArrayFromVector getElementsByTagName(DOMString tagName);
 | |
|     ArrayFromVector querySelectorAll(DOMString selectors);
 | |
|     Element createElement(DOMString tagName);
 | |
| 
 | |
|     readonly attribute DOMString compatMode;
 | |
|     readonly attribute DocumentType? doctype;
 | |
| 
 | |
|     readonly attribute HTMLElement? body;
 | |
| 
 | |
| }
 |