mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	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;
 | 
						|
 | 
						|
}
 |