CNN Table Bug

David Hyatt hyatt@apple.com
Wed, 15 Jan 2003 18:20:37 -0800


Thanks!

You are correct.  I was applying nowrap to table cells even when they 
had fixed widths.  Unfortunately that was just my (faulty) way of 
trying to create overconstrained table cells.  Fixing this test case 
does not fix the CNN.com bug.  I'll try to get you a new test case 
later today that really demonstrates the bug.

dave

On Wednesday, January 15, 2003, at 05:45 PM, Dirk Mueller wrote:

> On Mit, 15 Jan 2003, David Hyatt wrote:
>
>> Ok, this is about the best minimal test case I could construct for the
>> CNN table bug I'm seeing with the new table code.  I'm curious if this
>> is another merge snafu on my part, or if you see this bug in Konq.
>
> Konq doesn't render it like IE 6 I'm afraid, but thats because IE 
> doesn't
> support "grey" as color, only "gray". Konqueror and Mozilla does 
> however, I
> think its a CSS requirement. also the column widths are slightly off, I
> believe thats a font sizing bug that is currently in HEAD.
>
> you can find the screenshot at http://khtml.homeip.net/cnn.png
>
> Note that Mozilla renders it totally different. Not sure what the 
> problem
> is, but as NS 4, Konqueror and IE all agree, I think we're right here.
>
> This is the constraint table:
>
> AutoTableLayout::layout()
>     tableWidth=770,  nEffCols=5
>     effcol 0 is of type 3 value 126, minWidth=7, maxWidth=126
>         effective: type 3 value 126, minWidth=7, maxWidth=126
>     effcol 1 is of type 3 value 10, minWidth=1, maxWidth=10
>         effective: type 3 value 10, minWidth=1, maxWidth=10
>     effcol 2 is of type 3 value 280, minWidth=7, maxWidth=280
>         effective: type 3 value 280, minWidth=7, maxWidth=280
>     effcol 3 is of type 3 value 10, minWidth=7, maxWidth=10
>         effective: type 3 value 10, minWidth=7, maxWidth=10
>     effcol 4 is of type 3 value 344, minWidth=344, maxWidth=344
>         effective: type 3 value 344, minWidth=344, maxWidth=344
> fixed satisfied: available is 0
>
>
> What you're seeing here probably is that because of some bug in your 
> code
> the effwidth of effcol 1 shrunk to the minwidth (which is 1 pixel).
>
>
> What is your constraint table ?
>
> my best bet is currently a bug in the whitespace / 
> RenderFlow::calcMinMax
> code.
>
>
> -- 
> Dirk (received 79 mails today)
> _______________________________________________
> Khtml-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel