mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	LibHTML: Ignore all CSS rules starting with "@" for now
This commit is contained in:
		
							parent
							
								
									a88d409c74
								
							
						
					
					
						commit
						816d3e6208
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -528,8 +528,8 @@ public: | ||||||
|         if (index >= css.length()) |         if (index >= css.length()) | ||||||
|             return; |             return; | ||||||
| 
 | 
 | ||||||
|         // FIXME: We ignore @media rules for now.
 |         // FIXME: We ignore @-rules for now.
 | ||||||
|         if (next_is("@media")) { |         if (peek() == '@') { | ||||||
|             while (peek() != '{') |             while (peek() != '{') | ||||||
|                 consume_one(); |                 consume_one(); | ||||||
|             int level = 0; |             int level = 0; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling