mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	 41896ff521
			
		
	
	
		41896ff521
		
	
	
	
	
		
			
			This class introduces LayoutTable, LayoutTableRow and LayoutTableCell. These are produced by "display" values table, table-row and table-cell respectively. Note that there's no layout happening yet, I'm just adding the classes.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <LibHTML/DOM/Element.h>
 | |
| #include <LibHTML/Layout/LayoutTable.h>
 | |
| 
 | |
| LayoutTable::LayoutTable(const Element& element, NonnullRefPtr<StyleProperties> style)
 | |
|     : LayoutBlock(&element, move(style))
 | |
| {
 | |
| }
 | |
| 
 | |
| LayoutTable::~LayoutTable()
 | |
| {
 | |
| }
 | |
| 
 | |
| void LayoutTable::layout()
 | |
| {
 | |
|     LayoutBlock::layout();
 | |
| }
 |