| 
									
										
										
										
											2021-09-13 22:42:57 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <LibWeb/DOM/Element.h>
 | 
					
						
							|  |  |  | #include <LibWeb/DOM/ExceptionOr.h>
 | 
					
						
							|  |  |  | #include <LibWeb/DOM/ShadowRoot.h>
 | 
					
						
							|  |  |  | #include <LibWeb/HTML/HTMLTemplateElement.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-02 22:45:37 +02:00
										 |  |  | namespace Web::DOMParsing { | 
					
						
							| 
									
										
										
										
											2021-09-13 22:42:57 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | // https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml
 | 
					
						
							| 
									
										
										
										
											2022-08-28 13:42:07 +02:00
										 |  |  | DOM::ExceptionOr<void> inner_html_setter(JS::NonnullGCPtr<DOM::Node> context_object, String const& value); | 
					
						
							| 
									
										
										
										
											2021-09-13 22:42:57 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-20 18:28:41 +02:00
										 |  |  | DOM::ExceptionOr<JS::NonnullGCPtr<DOM::DocumentFragment>> parse_fragment(String const& markup, DOM::Element& context_element); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-13 22:42:57 +01:00
										 |  |  | } |