| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <LibHTML/Layout/LayoutBox.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class LayoutTableRow final : public LayoutBox { | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  |     LayoutTableRow(const Element&, NonnullRefPtr<StyleProperties>); | 
					
						
							|  |  |  |     virtual ~LayoutTableRow() override; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     virtual void layout() override; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							| 
									
										
										
										
											2019-10-17 23:34:12 +02:00
										 |  |  |     virtual bool is_table_row() const override { return true; } | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  |     virtual const char* class_name() const override { return "LayoutTableRow"; } | 
					
						
							|  |  |  | }; | 
					
						
							| 
									
										
										
										
											2019-10-17 23:34:12 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | template<> | 
					
						
							|  |  |  | inline bool is<LayoutTableRow>(const LayoutNode& node) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     return node.is_table_row(); | 
					
						
							|  |  |  | } |