mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	LibWeb: Add a non-DeprecatedString version of Element::prefix()
Renaming the old DeprecatedString version of this function to deprecated_prefix().
This commit is contained in:
		
							parent
							
								
									e5e4920e66
								
							
						
					
					
						commit
						ebe01b51c8
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-16 16:23:32 +09:00 
				
			
			Author: https://github.com/shannonbooth
Commit: ebe01b51c8
Pull-request: https://github.com/SerenityOS/serenity/pull/21283
			
					 4 changed files with 6 additions and 4 deletions
				
			
		|  | @ -549,7 +549,7 @@ static WebIDL::ExceptionOr<DeprecatedString> serialize_element(DOM::Element cons | |||
|     // 12. Otherwise, inherited ns is not equal to ns (the node's own namespace is different from the context namespace of its parent). Run these sub-steps:
 | ||||
|     else { | ||||
|         // 1. Let prefix be the value of node's prefix attribute.
 | ||||
|         auto prefix = element.prefix(); | ||||
|         auto prefix = element.deprecated_prefix(); | ||||
| 
 | ||||
|         // 2. Let candidate prefix be the result of retrieving a preferred prefix string prefix from map given namespace ns.
 | ||||
|         auto candidate_prefix = retrieve_a_preferred_prefix_string(prefix, map, ns); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shannon Booth
						Shannon Booth