mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:12:44 +00:00 
			
		
		
		
	LibWeb: Move HTML classes into the Web::HTML namespace
This commit is contained in:
		
							parent
							
								
									ebd2e7d9f5
								
							
						
					
					
						commit
						c46439f240
					
				
					 82 changed files with 238 additions and 247 deletions
				
			
		|  | @ -28,7 +28,7 @@ | |||
| 
 | ||||
| #include <LibWeb/HTML/HTMLElement.h> | ||||
| 
 | ||||
| namespace Web { | ||||
| namespace Web::HTML { | ||||
| 
 | ||||
| class HTMLInputElement : public HTMLElement { | ||||
| public: | ||||
|  | @ -46,6 +46,6 @@ public: | |||
| 
 | ||||
| } | ||||
| 
 | ||||
| AK_BEGIN_TYPE_TRAITS(Web::HTMLInputElement) | ||||
| static bool is_type(const Web::DOM::Node& node) { return node.is_html_element() && downcast<Web::HTMLElement>(node).local_name() == Web::HTML::TagNames::input; } | ||||
| AK_BEGIN_TYPE_TRAITS(Web::HTML::HTMLInputElement) | ||||
| static bool is_type(const Web::DOM::Node& node) { return node.is_html_element() && downcast<Web::HTML::HTMLElement>(node).local_name() == Web::HTML::TagNames::input; } | ||||
| AK_END_TYPE_TRAITS() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling