mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 e013306df8
			
		
	
	
		e013306df8
		
	
	
	
	
		
			
			Zero is a valid font-size value, and should result in no text being visible. We now match the behavior of other engines.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			757 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			757 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
 | |
|       BlockContainer <div> at (8,8) content-size 784x0 children: inline
 | |
|         line 0 width: 0, height: 0, bottom: 0, baseline: 0
 | |
|           frag 0 from TextNode start: 0, length: 21, rect: [8,8 0x0]
 | |
|             "should not be visible"
 | |
|         TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x16]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x0]
 | |
|       PaintableWithLines (BlockContainer<DIV>) [8,8 784x0]
 | |
|         TextPaintable (TextNode<#text>)
 |