mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibWeb: Don't crash on HTML input element with display: inline
				
					
				
			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.
This commit is contained in:
		
							parent
							
								
									00999a245c
								
							
						
					
					
						commit
						a6d1307aa4
					
				
					 3 changed files with 25 additions and 1 deletions
				
			
		|  | @ -0,0 +1,10 @@ | |||
| <!DOCTYPE html><html><head><style> | ||||
| * { | ||||
|     border: 1px solid black; | ||||
|     font: 20px 'SerenitySans'; | ||||
| } | ||||
| input { | ||||
|     display: inline; | ||||
|     width: 200px; | ||||
| } | ||||
| </style></head><body><input/> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling