[Webkit-unassigned] [Bug 150271] float:right not working consistently across page loads (Loading-related race condition?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 15:19:34 PDT 2015


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

--- Comment #5 from zalan <zalan at apple.com> ---
It seems to me that we don't properly clean up the tree after display:none is applied on the <div> in the middle.
(This is the output of a slightly modified test reduction with spans instead of buttons) 
<span>foo</span><div class="hidden"></div><div class="collapseMenu"><span>bar</span>

Broken rendering
--AG--- --        RenderBlock  (0.00, 0.00) (1491.00, 20.00) renderer->(0x12135df18)
------- --          RootInlineBox  (0.00, 2.00) (20.22, 16.00) (0x122fbac78) renderer->(0x12135df18)
------- --            InlineTextBox  (0.00, 2.00) (20.22, 16.00) (0x122fb23c0) run(0, 3) "foo"
------- --          SPAN RenderInline renderer->(0x120b73f70) node->(0x120b5dc98)
------- --            #text RenderText renderer->(0x120b50960) node->(0x120b4f370) length->(3) "foo"
----F-- --        DIV RenderBlock  (1470.52, 20.00) (20.48, 20.00) renderer->(0x12135d8a0) node->(0x120b5dd68)
------- --          RootInlineBox  (0.00, 2.00) (20.48, 16.00) (0x122fbad20) renderer->(0x12135d8a0)
------- --            InlineTextBox  (0.00, 2.00) (20.48, 16.00) (0x122fb2420) run(0, 3) "bar"
------- --          SPAN RenderInline renderer->(0x120b49000) node->(0x120b5ddd0)
------- --            #text RenderText renderer->(0x120b50cc0) node->(0x120b4f3c0) length->(3) "bar"


Correct rendering:
------- --        RootInlineBox  (0.00, 2.00) (20.22, 16.00) (0x11d7185e8) renderer->(0x12135df18)
------- --          InlineTextBox  (0.00, 2.00) (20.22, 16.00) (0x117f1a900) run(0, 3) "foo"
------- --        SPAN RenderInline renderer->(0x11fbf5820) node->(0x11fbf5478)
------- --          #text RenderText renderer->(0x117f4b7e0) node->(0x122fd2910) length->(3) "foo"
----F-- --        DIV RenderBlock  (1470.52, 0.00) (20.48, 20.00) renderer->(0x12135d398) node->(0x11fbf5548)
------- --          RootInlineBox  (0.00, 2.00) (20.48, 16.00) (0x11d718540) renderer->(0x12135d398)
------- --            InlineTextBox  (0.00, 2.00) (20.48, 16.00) (0x117f1a8a0) run(0, 3) "bar"
------- --          SPAN RenderInline renderer->(0x11fbf5888) node->(0x11fbf55b0)
------- --            #text RenderText renderer->(0x117f1a420) node->(0x122fd2960) length->(3) "bar"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151021/7c3846c1/attachment.html>


More information about the webkit-unassigned mailing list