mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 122d847720
			
		
	
	
		122d847720
		
	
	
	
	
		
			
			Rewrites the grid area building to accurately identify areas that span multiple rows. Also now we can recognize invalid areas but do not handle them yet.
		
			
				
	
	
		
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			469 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			469 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><head><style type="text/css">
 | |
| * {
 | |
|     border: 1px solid black;
 | |
| }
 | |
| 
 | |
| .grid {
 | |
|     display: grid;
 | |
|     grid-template-rows: 100px 100px 100px;
 | |
|     grid-template-columns: 100px 100px 100px;
 | |
|     grid-template-areas: "a a a" "a a a" "b b b";
 | |
| }
 | |
| 
 | |
| .a {
 | |
|     grid-area: a / a / a / a;
 | |
|     background-color: red;
 | |
| }
 | |
| 
 | |
| .b {
 | |
|     grid-area: b / b / b / b;
 | |
|     background-color: blueviolet;
 | |
| }
 | |
| </style></head><body><div class="grid"><div class="a">a</div><div class="b">b</div> |