mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:52:43 +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
		
	
	
	
		
			212 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			212 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/HTMLAnchorElement.h>
 | |
| 
 | |
| HTMLAnchorElement::HTMLAnchorElement(Document& document, const String& tag_name)
 | |
|     : HTMLElement(document, tag_name)
 | |
| {
 | |
| }
 | |
| 
 | |
| HTMLAnchorElement::~HTMLAnchorElement()
 | |
| {
 | |
| }
 |