Bug 75305 - Inline flow not learning height of all text descendants
: Inline flow not learning height of all text descendants
Status: RESOLVED FIXED
: WebKit
Layout and Rendering
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
:
: 74723
  Show dependency treegraph
 
Reported: 2011-12-28 04:44 PST by
Modified: 2011-12-28 11:19 PST (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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 From 2011-12-28 05:16:34 PST -------
Created an attachment (id=120655) [details]
Patch
------- Comment #2 From 2011-12-28 11:19:01 PST -------
Committed r103772: <http://trac.webkit.org/changeset/103772>