| 
									
										
										
										
											2024-04-25 20:21:12 +02:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <LibWeb/Layout/SVGForeignObjectBox.h>
 | 
					
						
							|  |  |  | #include <LibWeb/Painting/SVGForeignObjectPaintable.h>
 | 
					
						
							|  |  |  | #include <LibWeb/SVG/SVGSVGElement.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Web::Layout { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  | GC_DEFINE_ALLOCATOR(SVGForeignObjectBox); | 
					
						
							| 
									
										
										
										
											2024-04-25 20:21:12 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-12-20 16:35:12 +01:00
										 |  |  | SVGForeignObjectBox::SVGForeignObjectBox(DOM::Document& document, SVG::SVGForeignObjectElement& element, GC::Ref<CSS::ComputedProperties> style) | 
					
						
							|  |  |  |     : BlockContainer(document, &element, style) | 
					
						
							| 
									
										
										
										
											2024-04-25 20:21:12 +02:00
										 |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-15 04:01:23 +13:00
										 |  |  | GC::Ptr<Painting::Paintable> SVGForeignObjectBox::create_paintable() const | 
					
						
							| 
									
										
										
										
											2024-04-25 20:21:12 +02:00
										 |  |  | { | 
					
						
							|  |  |  |     return Painting::SVGForeignObjectPaintable::create(*this); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |