mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +00:00 
			
		
		
		
	 741c7aef21
			
		
	
	
		741c7aef21
		
	
	
	
	
		
			
			Instead of hard-coding a check for "calc", we now call out to parse_dynamic_value() which allows use of other functions like min(), max(), clamp(), etc.
		
			
				
	
	
		
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			262 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			262 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style>
 | |
|     * { border: 1px solid black; }
 | |
|     body {
 | |
|         display: grid;
 | |
|         grid-template-columns: 1fr min(89ch, 100% - 89px) 1fr;
 | |
|     }
 | |
|     h1 {
 | |
|         grid-column: 2 / auto;
 | |
|         margin: 0;
 | |
|     }
 | |
| </style><body><h1>hello friends</h1> |