Bug 75305 - Inline flow not learning height of all text descendants
Summary: Inline flow not learning height of all text descendants
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 74723
  Show dependency treegraph
Reported: 2011-12-28 04:44 PST by Robert Hogan
Modified: 2011-12-28 11:19 PST (History)
2 users (show)

See Also:

Patch (4.79 KB, patch)
2011-12-28 05:16 PST, Robert Hogan
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Robert Hogan 2011-12-28 11:19:01 PST
Committed r103772: <http://trac.webkit.org/changeset/103772>