Bug 75305

Summary: Inline flow not learning height of all text descendants
Product: WebKit Reporter: Robert Hogan <robert>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz, robert
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 74723    
Attachments:
Description Flags
Patch mitz: review+

Description Robert Hogan 2011-12-28 04:44:25 PST
Example provided by mitz:

<span style="outline: 1px dotted blue;"> <span style="margin: 0 10px;"></span> text</span>

The line is only 1px in height and the text is not displayed. This happens because the root inline box does not learn of the existence of the 'text' run when calculating the line's height.
Comment 1 Robert Hogan 2011-12-28 05:16:34 PST
Created attachment 120655 [details]
Patch
Comment 2 Robert Hogan 2011-12-28 11:19:01 PST
Committed r103772: <http://trac.webkit.org/changeset/103772>