mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	 c8337e9ee8
			
		
	
	
		c8337e9ee8
		
	
	
	
	
		
			
			Having `TableRowGroupBox` not inherited from `BlockContainer` allows to write more simpler layout code.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			526 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			526 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibWeb/DOM/Element.h>
 | |
| #include <LibWeb/Layout/TableCellBox.h>
 | |
| #include <LibWeb/Layout/TableRowBox.h>
 | |
| #include <LibWeb/Layout/TableRowGroupBox.h>
 | |
| 
 | |
| namespace Web::Layout {
 | |
| 
 | |
| TableRowGroupBox::TableRowGroupBox(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
 | |
|     : Layout::Box(document, element, move(style))
 | |
| {
 | |
| }
 | |
| 
 | |
| TableRowGroupBox::~TableRowGroupBox() = default;
 | |
| 
 | |
| }
 |