mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	Everywhere: Use unqualified AK::URL
Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
		
							parent
							
								
									f9e5b43b7a
								
							
						
					
					
						commit
						9ce8189f21
					
				
					 156 changed files with 471 additions and 471 deletions
				
			
		|  | @ -276,10 +276,10 @@ static inline bool matches_pseudo_class(CSS::Selector::SimpleSelector::PseudoCla | |||
|         if (!matches_link_pseudo_class(element)) | ||||
|             return false; | ||||
|         auto document_url = element.document().url(); | ||||
|         AK::URL target_url = element.document().parse_url(element.attribute(HTML::AttributeNames::href).value_or({})); | ||||
|         URL target_url = element.document().parse_url(element.attribute(HTML::AttributeNames::href).value_or({})); | ||||
|         if (target_url.fragment().has_value()) | ||||
|             return document_url.equals(target_url, AK::URL::ExcludeFragment::No); | ||||
|         return document_url.equals(target_url, AK::URL::ExcludeFragment::Yes); | ||||
|             return document_url.equals(target_url, URL::ExcludeFragment::No); | ||||
|         return document_url.equals(target_url, URL::ExcludeFragment::Yes); | ||||
|     } | ||||
|     case CSS::PseudoClass::Visited: | ||||
|         // FIXME: Maybe match this selector sometimes?
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shannon Booth
						Shannon Booth