[Webkit-unassigned] [Bug 110868] New: Weird width:50% issue introduced with Chrome 25

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 26 03:49:26 PST 2013


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

           Summary: Weird width:50% issue introduced with Chrome 25
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fredck at fredck.com


Created an attachment (id=190254)
 --> (https://bugs.webkit.org/attachment.cgi?id=190254&action=review)
Test case.

Create a page with the following contents:

<div style="white-space:nowrap;float:left;outline:1px solid red">
    <table>
        <tr>
            <td style="width:200px">
                <!-- Fix 2: remove float:left (WAT!) -->
                <table style="width:100%;float:left">
                    <tr>
                        <td>
                            <!-- Remove width:100% to trigger the issue in Chrome 24 as well -->
                            <table style="width:100%">
                                <tr>
                                    <td style="width:50%">
                                        Cell 1
                                    </td>
                                    <td style="width:50%">
                                        <div style="width:400px;outline: 1px solid blue">
                                            Cell 2, with a 400px DIV.
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

The red DIV has been forced to be 200px wide but it has a 400 px (blue) DIV inside of it. Therefore, "Cell 1" should shrink to its very minimum, but it is matching the sice of "Cell 2".

Check the comments for two possible "fixes" :/

This issue impacts CKEditor dialogs rendering:
http://dev.ckeditor.com/ticket/10123

Confirmed with Chrome 25.0.1364.99 and Safari 6.0.2 (8536.26.17). Works well with Chrome 24.

-- 
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