mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	LibWeb: Remove DOM element deprecated_get_attribute()
This commit is contained in:
		
							parent
							
								
									c477f90df7
								
							
						
					
					
						commit
						a681429dff
					
				
				
				Notes:
				
					sideshowbarker
				
				2024-07-17 18:49:10 +09:00 
				
			
			Author: https://github.com/bplaat
Commit: a681429dff
Pull-request: https://github.com/SerenityOS/serenity/pull/22777
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/shannonbooth ✅
			
					 40 changed files with 114 additions and 122 deletions
				
			
		| 
						 | 
				
			
			@ -27,7 +27,7 @@ void HTMLButtonElement::initialize(JS::Realm& realm)
 | 
			
		|||
 | 
			
		||||
HTMLButtonElement::TypeAttributeState HTMLButtonElement::type_state() const
 | 
			
		||||
{
 | 
			
		||||
    auto value = deprecated_attribute(HTML::AttributeNames::type);
 | 
			
		||||
    auto value = get_attribute_value(HTML::AttributeNames::type);
 | 
			
		||||
 | 
			
		||||
#define __ENUMERATE_HTML_BUTTON_TYPE_ATTRIBUTE(keyword, state) \
 | 
			
		||||
    if (value.equals_ignoring_ascii_case(#keyword##sv))        \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue