mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 3b3ade0b8d
			
		
	
	
		3b3ade0b8d
		
	
	
	
	
		
			
			This fixes the issue that currently we use "auto" as initial value for grid-template-column and grid-template-rows although spec says it should be "none". This makes a lot of difference for these properties because currently we represent "auto" as a list with one auto-sized track which means initial value for grid-template-column defines one "explicit" track while it should define none of them. This change makes grid-auto-columns/rows be applied to the correct tracks when initial values is used for grid-template-column/rows.
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x200 children: not-inline
 | |
|       Box <div.grid-container> at (8,8) content-size 784x200 [GFC] children: not-inline
 | |
|         BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div.grid-item> at (8,8) content-size 392x100 [BFC] children: inline
 | |
|           line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x17.46875]
 | |
|               "1"
 | |
|           TextNode <#text>
 | |
|         BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div.grid-item> at (400,8) content-size 392x100 [BFC] children: inline
 | |
|           line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 1, rect: [400,8 8.8125x17.46875]
 | |
|               "2"
 | |
|           TextNode <#text>
 | |
|         BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div.grid-item> at (8,108) content-size 392x100 [BFC] children: inline
 | |
|           line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.09375x17.46875]
 | |
|               "3"
 | |
|           TextNode <#text>
 | |
|         BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div.grid-item> at (400,108) content-size 392x100 [BFC] children: inline
 | |
|           line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 1, rect: [400,108 7.75x17.46875]
 | |
|               "4"
 | |
|           TextNode <#text>
 | |
|         BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|       BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
 | |
|         TextNode <#text>
 |