mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-30 18:12:45 +00:00 
			
		
		
		
	 f4f5ede10a
			
		
	
	
		f4f5ede10a
		
	
	
	
	
		
			
			There's no need to pass the StyleResolver to this function. Nodes that need it can just get it from the document.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			363 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			363 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/HTMLBRElement.h>
 | |
| #include <LibHTML/Layout/LayoutBreak.h>
 | |
| 
 | |
| HTMLBRElement::HTMLBRElement(Document& document, const String& tag_name)
 | |
|     : HTMLElement(document, tag_name)
 | |
| {
 | |
| }
 | |
| 
 | |
| HTMLBRElement::~HTMLBRElement()
 | |
| {
 | |
| }
 | |
| 
 | |
| RefPtr<LayoutNode> HTMLBRElement::create_layout_node(const StyleProperties*) const
 | |
| {
 | |
|     return adopt(*new LayoutBreak(*this));
 | |
| }
 |