[Webkit-unassigned] [Bug 8461] New: WebKit doesn't constrain the width of table cells 

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Apr 18 12:54:36 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8461

           Summary: WebKit doesn't constrain the width of table cells 
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.aaronsw.com/2002/display?t=%3Cstyle%3E%0D%0A.
                    test+%7B+width%3A+300px%3B+border%3A+2px+solid+red%3B+he
                    ight%3A+100px%3B+overflow%3A+hidden%3B+%7D%0D%0A%3C%2Fst
                    yle%3E%0D%0A%0D%0A%3Cdiv+class%3D%22test%22%3E%0D%0AThis
                    +is+a+div+constrained+to+300px+width+with+a+reaaaaaaaaaa
                    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaly+long+word+in
                    +it.%0D%0A%3C%2Fdiv%3E%0D%0A%0D%0A%3Ctable%3E%3Ctr%3E%3C
                    td+class%3D%22test%22%3E%0D%0AThis+is+a+td+constrained+t
                    o+300px+width+with+a+reaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                    aaaaaaaaaaaaaaaaaaly+long+word+in+it.%0D%0A%3C%2Ftd%3E%3
                    C%2Ftr%3E%3C%2Ftable%3E
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Tables
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: me at aaronsw.com


If you visit the test case in the URL, you'll see two boxes. They're both short
sentences with one really long word in them with the width constrained to 300px
and overflow hidden. The only difference is that the first is a div and the
second is a td. 

Actual results: The first actually does get constrained to 300px; the second
completely ignores the constraint and expands to be able to hold the word.

Expected results: Both boxes should be constrained to 300px.


-- 
Configure bugmail: http://bugzilla.opendarwin.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