mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	 c8e5039418
			
		
	
	
		c8e5039418
		
	
	
	
	
		
			
			Since LayoutText no longer inherits from LayoutInline, all of the DOM nodes with a LayoutInline are going to be Elements.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			305 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			305 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/Element.h>
 | |
| #include <LibHTML/Layout/LayoutBlock.h>
 | |
| #include <LibHTML/Layout/LayoutInline.h>
 | |
| 
 | |
| LayoutInline::LayoutInline(const Element& element, NonnullRefPtr<StyleProperties> style)
 | |
|     : LayoutNode(&element, move(style))
 | |
| {
 | |
|     set_inline(true);
 | |
| }
 | |
| 
 | |
| LayoutInline::~LayoutInline()
 | |
| {
 | |
| }
 |