Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								4323669939 
								
							 
						 
						
							
							
								
								LibWeb: Add Range::for_each_contained()  
							
							... 
							
							
							
							This centralizes the logic for iterating over a Range's contained nodes. 
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								2466021e55 
								
							 
						 
						
							
							
								
								LibWeb: Rename argument to split_the_parent_of_nodes() to reflect spec  
							
							... 
							
							
							
							The spec calls it a "node list", not "nodes". 
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								f4c822ee38 
								
							 
						 
						
							
							
								
								LibWeb: Simplify fix_disallowed_ancestors_of_node()'s usage of node  
							
							... 
							
							
							
							Commit 98df4c2b 
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								bd2488a468 
								
							 
						 
						
							
							
								
								LibWeb: Make block_extend_a_range() take a GC::Ref for the range  
							
							... 
							
							
							
							This makes it more consistent with the other signatures. 
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								e5b107b6b6 
								
							 
						 
						
							
							
								
								LibWeb: Fix typo in spec comment for non-list single line containers  
							
							
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								acef5a34de 
								
							 
						 
						
							
							
								
								LibWeb: Remove useless move from remove_node_preserving_its_descendants  
							
							
							
						 
						
							2025-01-10 23:33:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								c0285f4a7e 
								
							 
						 
						
							
							
								
								LibWeb: Do not require visible nodes in the wrap editing algorithm  
							
							... 
							
							
							
							The spec doesn't say they should exist, so we should not
`VERIFY_NOT_REACHED()` when they don't. Prevents a crash in the WPT
`editing/event.html` tests. 
							
						 
						
							2024-12-21 19:15:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								e6631a4216 
								
							 
						 
						
							
							
								
								LibWeb: Add concept of boundary point to DOM::AbstractRange  
							
							... 
							
							
							
							This makes comparing the relative position of boundary points a bit
nicer when one of the boundary points is the range's start or end. 
							
						 
						
							2024-12-21 19:15:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								a3b3f2f30d 
								
							 
						 
						
							
							
								
								LibWeb: Prevent null deref in the "restore the values of nodes" algo  
							
							
							
						 
						
							2024-12-21 19:15:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								c90c5aad29 
								
							 
						 
						
							
							
								
								LibWeb: Implement the "record current states and values" Editing algo  
							
							
							
						 
						
							2024-12-21 19:15:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								2c51ed8dec 
								
							 
						 
						
							
							
								
								LibWeb: Rework obtaining resolved styles in the Editing API  
							
							... 
							
							
							
							The algorithm referenced to in the Editing spec whenever they talk about
obtaining the "resolved" style or value is actually implemented in
ResolvedCSSStyleDeclaration, so use that instead of going directly to
the computed styles. 
							
						 
						
							2024-12-21 19:15:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								30ec8c1d4d 
								
							 
						 
						
							
							
								
								LibWeb: Implement "delete the selection" for the editing API  
							
							
							
						 
						
							2024-12-10 14:54:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								1c55153d43 
								
							 
						 
						
							
							
								
								LibWeb: Refactor "editable" and "editing host" concepts  
							
							... 
							
							
							
							The DOM spec defines what it means for an element to be an "editing
host", and the Editing spec does the same for the "editable" concept.
Replace our `Node::is_editable()` implementation with these
spec-compliant algorithms.
An editing host is an element that has the properties to make its
contents effectively editable. Editable elements are descendants of an
editing host. Concepts like the inheritable contenteditable attribute
are propagated through the editable algorithm. 
							
						 
						
							2024-12-10 14:54:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								f88c13a58c 
								
							 
						 
						
							
							
								
								LibWeb: Prevent null deref in collapsed whitespace check  
							
							... 
							
							
							
							The spec even warned us about the reference potentially being null. 
							
						 
						
							2024-12-10 14:54:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								9b446df7f5 
								
							 
						 
						
							
							
								
								LibWeb: Replace local name checks with simpler is<T> in editing API  
							
							
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								e308a3fd3f 
								
							 
						 
						
							
							
								
								LibWeb: Be more defensive while traversing ancestors in editing API  
							
							... 
							
							
							
							In all these cases there should be an ancestor available, but it
definitely cannot hurt to be a bit more defensive about this and prevent
nullptr dereferences. 
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								b6939c8035 
								
							 
						 
						
							
							
								
								LibWeb: Use wrap algorithm in "fix disallowed ancestors"  
							
							... 
							
							
							
							We have the wrap algorithm implemented now, so resolve the FIXME. 
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								4f76cec096 
								
							 
						 
						
							
							
								
								LibWeb: Implement document.execCommand("insertParagraph")  
							
							
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								2e29d3fb57 
								
							 
						 
						
							
							
								
								LibWeb: Fix is_allowed_child_of_node() for non-element parent node  
							
							... 
							
							
							
							When passing a DOM::Node that is not a DOM::Element, this method would
always try to cast to a DOM::Element. 
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								98df4c2b3c 
								
							 
						 
						
							
							
								
								LibWeb: Make Editing::fix_disallowed_ancestors_of_node() take a GC::Ref  
							
							
							
						 
						
							2024-12-04 06:51:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								6a85677f70 
								
							 
						 
						
							
							
								
								LibWeb: Expose HTMLElement's content editable state  
							
							
							
						 
						
							2024-12-03 00:18:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								217567981a 
								
							 
						 
						
							
							
								
								LibWeb: Implement "plaintext-only" state for contenteditable  
							
							
							
						 
						
							2024-12-03 00:18:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								7e406ac668 
								
							 
						 
						
							
							
								
								LibWeb: Simplify editing algorithm for "ends in space" condition  
							
							... 
							
							
							
							Checking if a string ends in a space does not require converting UTF-8
to UTF-16 and reading out its code points. 
							
						 
						
							2024-12-03 00:18:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								bb618736e9 
								
							 
						 
						
							
							
								
								LibWeb: Use default paragraph separator in delete command  
							
							
							
						 
						
							2024-11-30 17:35:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jelle Raaijmakers 
								
							 
						 
						
							
							
							
							
								
							
							
								7bb865052a 
								
							 
						 
						
							
							
								
								LibWeb: Implement document.execCommand("delete")  
							
							... 
							
							
							
							To facilitate the implementation of "delete" and all associated
algorithms, split off this piece of `Document` into a separate
directory.
This sets up the infrastructure for arbitrary commands to be supported. 
							
						 
						
							2024-11-30 17:35:45 +01:00