mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:32:44 +00:00 
			
		
		
		
	 e0fe77d012
			
		
	
	
		e0fe77d012
		
	
	
	
	
		
			
			Each ref test now links to its reference page with a link tag, in the same format as WPT: `<link rel="match" href="reference-page.html" />` The reference pages have all been moved into a separate `reference/` dir so that we can just treat every file in `ref/` as a test. There's no filter to only look at .html files, because we also have a .svg file in there, and there may be other formats we want to use too. But it's not too hard to add one if we need it.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			231 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			231 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
|   * {
 | |
|     margin: 0;
 | |
|   }
 | |
| </style>
 | |
| <svg xmlns="http://www.w3.org/2000/svg">
 | |
|   <defs>
 | |
|     <g id="10">
 | |
|       <rect width="50" height="50" fill="#555555"></rect>
 | |
|     </g>
 | |
|   </defs>
 | |
|   <use href="#10" x="25" y="25"></use>
 | |
| </svg>
 |