mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:42:43 +00:00 
			
		
		
		
	 e27726dc92
			
		
	
	
		e27726dc92
		
	
	
	
	
		
			
			Also change DOM::Document::document_element() to return an Element* and not an HTML::HTMLHtmlElement since that's not the only kind of documentElement we might encounter.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			474 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			474 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 Element? documentElement;
 | |
|     readonly attribute HTMLElement? body;
 | |
| 
 | |
| }
 |