mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:32:46 +00:00 
			
		
		
		
	 fb722e69f3
			
		
	
	
		fb722e69f3
		
	
	
	
	
		
			
			The resolved property sets are stored with the element in a per-pseudo-element array (same as for pseudo element layout nodes). Longer term, we should stop storing this with elements entirely and make it temporary state in StyleComputer somehow, so we don't waste memory keeping all the resolved properties around. This makes various gradients show up on https://shopify.com/ :^)
		
			
				
	
	
		
			15 lines
		
	
	
		
			No EOL
		
	
	
		
			270 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			No EOL
		
	
	
		
			270 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style>
 | |
| * {
 | |
|     font: 20px SerenitySans;
 | |
| }
 | |
| .hello::before {
 | |
|     position: absolute;
 | |
|     height: 100px;
 | |
|     width: 100px;
 | |
|     --wide: 500px;
 | |
|     width: var(--wide);
 | |
|     --bg: orange;
 | |
|     background: var(--bg);
 | |
|     content: "";
 | |
| }
 | |
| </style><div class="hello"> |