mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	 b477aff843
			
		
	
	
		b477aff843
		
	
	
	
	
		
			
			HtmlView now calls Node::enclosing_link_element() to find the nearest ancestor <a> element. This patch also adds HTMLElement and HTMLAnchorElement.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			178 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			178 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/HTMLElement.h>
 | |
| 
 | |
| HTMLElement::HTMLElement(Document& document, const String& tag_name)
 | |
|     : Element(document, tag_name)
 | |
| {
 | |
| }
 | |
| 
 | |
| HTMLElement::~HTMLElement()
 | |
| {
 | |
| }
 |