mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:42:44 +00:00 
			
		
		
		
	 7439fbd896
			
		
	
	
		7439fbd896
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			456 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <html>
 | |
| <head>
 | |
| <title>@import test</title>
 | |
| <style>
 | |
| @import "css-import-1.css";
 | |
| @import url("css-import-2.css");
 | |
| @import url(css-import-3.css);
 | |
| </style>
 | |
| </head>
 | |
| <body>
 | |
| <div>
 | |
|     <p class="first">If this is green, <code>@import "string";</code> works!</p>
 | |
|     <p class="second">If this is green, <code>@import url("string");</code> works!</p>
 | |
|     <p class="third">If this is green, <code>@import url(unquoted-string);</code> works!</p>
 | |
| </div>
 | |
| </body>
 | |
| </html>
 |