[Webkit-unassigned] [Bug 21625] New: drop down box and button are wrapped to new line because containing <span> tag does not inherit parent's <div> width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 15 16:11:09 PDT 2008


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

           Summary: drop down box and button are wrapped to new line because
                    containing <span> tag does not inherit parent's <div>
                    width
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://edu.sina.com.cn/
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jasneet at chromium.org
                CC: jasneet at chromium.org


I Steps:
Go to http://edu.sina.com.cn/
Scroll down to module with title "考试书架"

II Issue:
drop down box and button are wrapped to new line 

III Conclusion:
The outermost <div> (with blue border) has a <span> which has a <div>  (with
green border) that contains the dropdown and the button. While the outermost
<div> has a width defined, the <span> doesn't have any width defined nor does
the inner <div> and this is what's causing the issue.
It seems that the <span> does not inherit the width of the <div>. Defining a
width for either  the <span> or the inner <div> resolves the issue.

IV Other Browsers:
IE7: ok
FF3: not ok

V Nightly tested: 37604


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



More information about the webkit-unassigned mailing list