[Webkit-unassigned] [Bug 39352] Block inside Inline Float fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 5 13:49:23 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=39352


Robert Hogan <robert at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |data:text/html,<html><body>
                   |                            |<p><span style="float:
                   |                            |left;"><div
                   |                            |style="background:
                   |                            |green;">Block</div></span><
                   |                            |/p></body></html>
                 CC|                            |eric at webkit.org,
                   |                            |robert at webkit.org




--- Comment #1 from Robert Hogan <robert at webkit.org>  2012-11-05 13:50:53 PST ---
Reduction is:

<html>
<body>
<p><span style="float: left;"><div style="background: green;">Block</div></span></p>
</body>
</html>

For some reason, this gets the RenderTree:

  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x576
      RenderBlock {P} at (0,0) size 784x0
        RenderBlock (floating) {SPAN} at (0,0) size 0x0
      RenderBlock {DIV} at (0,0) size 784x20 [bgcolor=#008000]
        RenderText {#text} at (0,0) size 36x19
          text run at (0,0) width 36: "Block"
      RenderBlock {P} at (0,36) size 784x0

Clearly the 'RenderBlock {DIV}' should not have RenderBody as its parent.

So may well be a parsing issue: Eric, any clues where to start looking?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list