| 
									
										
										
										
											2020-01-18 09:38:21 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2021-04-22 01:24:48 -07:00
										 |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							| 
									
										
										
										
											2020-01-18 09:38:21 +01:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-22 15:53:01 +01:00
										 |  |  | #pragma once
 | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-22 15:53:01 +01:00
										 |  |  | #include <LibWeb/Layout/Box.h>
 | 
					
						
							| 
									
										
										
										
											2020-03-07 10:27:02 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-22 15:53:01 +01:00
										 |  |  | namespace Web::Layout { | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-22 15:53:01 +01:00
										 |  |  | class InlineNode : public NodeWithStyleAndBoxModelMetrics { | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  |     InlineNode(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>); | 
					
						
							|  |  |  |     virtual ~InlineNode() override; | 
					
						
							| 
									
										
										
										
											2020-12-03 19:14:41 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-03 19:30:48 +01:00
										 |  |  |     virtual void paint_fragment(PaintContext&, const LineBoxFragment&, PaintPhase) const override; | 
					
						
							| 
									
										
										
										
											2020-12-03 19:21:33 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-05 20:10:39 +01:00
										 |  |  |     virtual void split_into_lines(InlineFormattingContext&, LayoutMode) override; | 
					
						
							| 
									
										
										
										
											2020-11-22 15:53:01 +01:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-07 10:27:02 +01:00
										 |  |  | } |