| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <DOM/CharacterData.idl> | 
					
						
							| 
									
										
										
										
											2023-09-05 13:07:35 -04:00
										 |  |  | #import <DOM/Slottable.idl> | 
					
						
							|  |  |  | #import <HTML/HTMLSlotElement.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | // https://dom.spec.whatwg.org/#text | 
					
						
							| 
									
										
										
										
											2023-09-06 15:17:20 +12:00
										 |  |  | [Exposed=Window] | 
					
						
							| 
									
										
										
										
											2020-08-03 20:50:45 +02:00
										 |  |  | interface Text : CharacterData { | 
					
						
							| 
									
										
										
										
											2025-07-24 12:05:52 -04:00
										 |  |  |     constructor(optional Utf16DOMString data = ""); | 
					
						
							| 
									
										
										
										
											2022-03-21 18:57:10 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     [NewObject] Text splitText(unsigned long offset); | 
					
						
							| 
									
										
										
										
											2025-07-24 12:05:52 -04:00
										 |  |  |     readonly attribute Utf16DOMString wholeText; | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2023-09-05 13:07:35 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | Text includes Slottable; |