CNN Table Bug

Dirk Mueller mueller@kde.org
Thu, 16 Jan 2003 02:45:02 +0100


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)