[webkit-help] Help to locate the bug about inline-block&float of div

lizhilong jy_lizl at cn.fujitsu.com
Thu Dec 19 00:21:05 PST 2013


I'm working on the old webkit version(before 2012/10/2).
Then I meet with some problems.The description of problem is as follows.
The top div has three sub div tags.
the first div's style is" float: left; width:50%;height:25px;" .
the second div's style is" float: left; width:100%;height:75px;" .
the third div's style is" height:150px;width:50%; display:inline-block".

In expect, the three sub-div should be displayed from top to bottom in
But in my browser ,the third div is displayed on the right hand of the
second div, and top aligned with the first div.

I think third div displayed as block or inline is decided by the first div's
About display result and test case, Please look at the attach file of the
Is there somebody know whether there are some bugs or points about this

Best regards.
Li zhilong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20131219/889c9935/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: div.png
Type: image/png
Size: 10845 bytes
Desc: not available
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20131219/889c9935/attachment.png>

More information about the webkit-help mailing list