mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 a6d1307aa4
			
		
	
	
		a6d1307aa4
		
	
	
	
	
		
			
			This would previously assert in InlineFormattingContext because we had an outwardly inline box that wasn't inwardly flow. Fix this by converting text-based input boxes to inline-blocks. This is an ad-hoc solution, and there might be a much better way to solve it.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			700 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (1,1) content-size 798x45.835937 children: not-inline
 | |
|     BlockContainer <body> at (10,10) content-size 780x27.835937 children: inline
 | |
|       line 0 width: 202, height: 27.835937, bottom: 27.835937, baseline: 25.835937
 | |
|         frag 0 from BlockContainer start: 0, length: 0, rect: [11,11 200x25.835937]
 | |
|       BlockContainer <input> at (11,11) content-size 200x25.835937 inline-block children: not-inline
 | |
|         BlockContainer <#shadow-root> at (11,11) content-size 0x0 children: not-inline
 | |
|         BlockContainer <div> at (14,13) content-size 194x21.835937 children: inline
 | |
|           TextNode <#text>
 |