mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibWeb: Rename Element::tag_name() => local_name()
To prepare for fully qualified tag names, let's call this local_name. Note that we still keep an Element::tag_name() around since that's what the JS bindings end up calling into for the Element.tagName property.
This commit is contained in:
		
							parent
							
								
									9d4cd565e3
								
							
						
					
					
						commit
						3cb50a4714
					
				
					 34 changed files with 140 additions and 137 deletions
				
			
		|  | @ -58,7 +58,7 @@ Element* ListOfActiveFormattingElements::last_element_with_tag_name_before_marke | |||
|         auto& entry = m_entries[i]; | ||||
|         if (entry.is_marker()) | ||||
|             return nullptr; | ||||
|         if (entry.element->tag_name() == tag_name) | ||||
|         if (entry.element->local_name() == tag_name) | ||||
|             return entry.element; | ||||
|     } | ||||
|     return nullptr; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling