mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	LibWeb: Get CSS @import rules working in new parser
Also added css-import.html, which tests the 3 syntax variations on `@import` statements. Note that the optional media-query parameter to `@import` is not handled yet.
This commit is contained in:
		
							parent
							
								
									8b2e76b838
								
							
						
					
					
						commit
						7439fbd896
					
				
					 9 changed files with 82 additions and 38 deletions
				
			
		|  | @ -846,7 +846,7 @@ Token Tokenizer::consume_a_token() | |||
|         if (would_start_an_identifier()) { | ||||
|             auto name = consume_a_name(); | ||||
| 
 | ||||
|             return create_value_token(Token::Type::AtKeyword, input); | ||||
|             return create_value_token(Token::Type::AtKeyword, name); | ||||
|         } | ||||
| 
 | ||||
|         return create_value_token(Token::Type::Delim, input); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Atkins
						Sam Atkins