mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	LibWeb: Implement :nth-of-type and :nth-last-of-type selectors :^)
This commit is contained in:
		
							parent
							
								
									2e23cce557
								
							
						
					
					
						commit
						a57128467a
					
				
					 5 changed files with 57 additions and 18 deletions
				
			
		|  | @ -385,6 +385,12 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector) | |||
|                 case CSS::Selector::SimpleSelector::PseudoClass::Type::OnlyOfType: | ||||
|                     pseudo_class_description = "OnlyOfType"; | ||||
|                     break; | ||||
|                 case CSS::Selector::SimpleSelector::PseudoClass::Type::NthOfType: | ||||
|                     pseudo_class_description = "NthOfType"; | ||||
|                     break; | ||||
|                 case CSS::Selector::SimpleSelector::PseudoClass::Type::NthLastOfType: | ||||
|                     pseudo_class_description = "NthLastOfType"; | ||||
|                     break; | ||||
|                 case CSS::Selector::SimpleSelector::PseudoClass::Type::NthChild: | ||||
|                     pseudo_class_description = "NthChild"; | ||||
|                     break; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins