Bug 117776 - Konqueror 3.4.2 bug with HTML table - Does not wrap
Summary: Konqueror 3.4.2 bug with HTML table - Does not wrap
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 09:47 UTC by Robert Body
Modified: 2008-05-05 12:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Body 2005-12-06 09:47:01 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Slackware Packages
Compiler:          Slackware 10.2 
OS:                Linux

On my webpage: http://robertbody.com/cats/index.html

Konqueror incorrectly DOES NOT WRAP with the following CSS and table... 
I am just attaching the CSS and table for reference, but you should go see the webpage and check it vs Mozilla or Firefox or IE, all interpret it just fine, but Konqueror DOES NOT STOP at the border of the window and just keeps going forever to the right...
There is nothing wrong or special with the HTML for the table, it's just wide but should wrap... i don't know if it's the NOBR confusing it, but those are only for individual components, it should wrap.

Thank you, KDE is nice :). First i thought it sucked 3 days ago, but after adjusting the horribly big taskbar and font (even on 1280x1024), it's just fine now. I have 3.4.2 and will get 3.5 asap, i am using Slackware and i don't know what's the procedure to overwrite my 3.4.2, hopefully i will read on your website somewhere.


PS. your Application list for selecting bug report is IMPOSSIBLE, I gave up, the scroll area is not tall enough, it is NOT ALPHABETIC, very confusing, just horrible.

rbody99@hotmail.com
-Robert


<style type="text/css">
 <!--
   a.myPhotos:hover { background: none; }
   a:hover          { color: white; background: red; text-decoration: overline underline;   }
   a.cssGroup {color: white;                  text-decoration: none; font-family: verdana,sans-serif,arial,helvetica; font-size: 8pt}

      td.navigating { font-size: -1}
      td.cssGroup   { color: white; font-family: verdana,sans-serif,arial,helvetica; font-size: 8pt}
   table.cssLevel0  { cell-spacing: 0; cell-padding: 0; width: 100%; background: #00003E; border: 0 }
   table.cssLevel1  { cell-spacing: 0; cell-padding: 0; width: 100%; background: #336699; border: 0 }
   table.cssLevel2  { cell-spacing: 2; cell-padding: 0; width: 100%; background: #00003E; border: 0 }
   table.cssLevel3  { cell-spacing: 2; cell-padding: 0; width: 100%; background: #DD0000; border: 0 }
   table.cssLevel4  { cell-spacing: 2; cell-padding: 0; width: 100%; background: darkgreen; border: 0 }
   table.cssLevel5  { cell-spacing: 2; cell-padding: 0; width: 100%; background: blue; border: 0 }
 -->
</style>


<table class="cssLevel2">
  <tr valign=bottom>
    <td class="cssGroup" align=center><div style="float:left;margin-top:0;margin-bottom:0;margin-right:5; margin-left:5" align=left><nobr><font size=1>(Animals)</font></nobr></div>
<nobr><a class="cssGroup" href="../animals/previews.html">Animals Photo Previews</a> | </nobr>
<nobr><a class="cssGroup" href="index.html"><img border=0 align="absmiddle" src="../layout/shapes/you-are-here.gif"> 1.Cats</a> | </nobr>

<nobr><a class="cssGroup" href="../birds/index.html">2.Birds</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/dogs.html">3.Dogs</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/horses.html">4.Horses</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/camels.html">5.Camels</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/llamas.html">6.Llamas</a> | </nobr>

<nobr><a class="cssGroup" href="../animals/goats.html">7.Goats</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/sheep.html">8.Sheep</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/squirrels.html">9.Squirrels</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/chipmunks.html">10.Chipmunks</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/mountain-goats.html">11.Mountain Goats</a> | </nobr>

<nobr><a class="cssGroup" href="../animals/buffalo.html">12.Buffalo</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/deer.html">13.Deer</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/cows-yaks.html">14.Cows &amp; Yaks</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/coyotes.html">15.Coyotes</a> | </nobr>

<nobr><a class="cssGroup" href="../animals/phoenix-zoo-2000.html">16.Phoenix Zoo</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/misc.html">17.Misc Animals</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/in-colorado.html">18.in Colorado</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/in-arizona-utah-california.html">19.in Arizona, Utah, California</a> | </nobr>
<nobr><a class="cssGroup" href="../animals/in-ontario.html">20.in Ontario</a> | </nobr>

    </td></tr>
</table>

#
Comment 1 Nicolas Goutte 2005-12-06 09:50:41 UTC
Kontour is dead. :-)

However the bug seems to be for KHTML.

Have a nice day!
Comment 2 Philip Rodrigues 2005-12-06 17:58:01 UTC
Remove all the <nobr>s - that fixes it. AFAICT, <nobr> isn't valid HTML anyway. (BTW, there are a bunch of completely random tags in the HTML like <my_pictures_start>. I guess it wouldn't be a bad idea to remove those too.)
Comment 3 Robert Body 2005-12-07 18:05:51 UTC
Hi, did you forward


[bugs.kde.org quoted mail]
Comment 4 Robert Body 2005-12-07 18:07:49 UTC
Hi Nicolas, did you forward the bug to KHTML or Konqueror people?
I saw the problem in Konqueror 3.5 as well, a little different but still 
same problem, <td> HTML does not wrap right

-Robert


[bugs.kde.org quoted mail]
Comment 5 Nicolas Goutte 2005-12-07 19:17:30 UTC
On Wednesday 07 December 2005 18:07, Robert Body wrote:
> Hi Nicolas, did you forward the bug to KHTML or Konqueror people?


To konqueror/khtml (Product: konqueror, component: khtml)

Probably somebody else will move it further to one of the more refined 
components.

> I saw the problem in Konqueror 3.5 as well,


Konqueror uses KHTML by default.

> a little different but still
> same problem, <td> HTML does not wrap right
>
> -Robert


Have a nice day!

>
>
> From: Nicolas Goutte <nicolasg@snafu.de>
>
> >Reply-To: 117776@bugs.kde.org
> >To: rbody99@hotmail.com
> >Subject: [Bug 117776] Konqueror 3.4.2 bug with HTML table - Does not wrap
> >Date: 6 Dec 2005 08:50:42 -0000
> >
> >------- You are receiving this mail because: -------
> >You reported the bug, or are watching the reporter.
> >
> >http://bugs.kde.org/show_bug.cgi?id=117776
> >nicolasg snafu de changed:
> >
> >            What    |Removed                     |Added
> >--------------------------------------------------------------------------
> >-- AssignedTo|rm linux ru net             |konq-bugs kde org
> > Component|general                     |khtml
> >             Product|kontour                     |konqueror
> >
> >
> >
> >------- Additional Comments From nicolasg snafu de  2005-12-06 09:50
> >-------
> >Kontour is dead. :-)
> >
> >However the bug seems to be for KHTML.
> >
> >Have a nice day!

Comment 6 Robert Body 2005-12-09 08:48:27 UTC
I just now saw the comments with "remove <nobr>" and "remove <my_pictures>" tags... so I have to adjust my valid HTML code that works in 10 other browsers, just because Konqueror has an issue?

<nobr>something</nobr> makes that item non-splittable, if it doesn't fit in whole at end of line, then it goes as a whole on new line.

<my_pictures> is a tag. it ends with </my_pictures>. nothing wrong with that.

No, I am reporting a bug that Konqueror does not work like all the other browsers that wrap... Netscape in Windows, IE in Windows, Mozilla in Linux, Safari on MAC, Explorer on MAC, all those are just fine

Konqueror has an issue, my HTML is valid.

-Robert
Comment 8 Robert Body 2005-12-11 19:31:15 UTC
Ok Phillip, so that ww3 tool says that <nobr> is not valid, even though all 
the browsers interpret it correctly....... IE, Netscape, Mozilla, Safari

and Konqueror stands out by not just ignoring it (as should be if it doesn't 
understand it), but by messing up the parent container which is a table, and 
not wrapping, as a proper table should.

your reply seems to mean that "<nobr> is not valid tag, so no guarantees". 
But I am telling you that this webpage is find to show up on any other 
browser. If <nobr> is not understood by Konqueror, it should ignore it, not 
mess up the table.

It's a ridiculous look, the table goes on for 3 screens on 1280 resolution, 
it should be wrapping

I don't know what the story is with <nobr> i have seen it just now in IE 
docs but i thought it was a standard... how else can one guarantee not 
splitting something like "this label", something with multiple words that 
should always be together?

-Robert


[bugs.kde.org quoted mail]
Comment 9 Maksim Orlovich 2005-12-11 19:33:18 UTC
<nobr> is a tag asking to, well, not break the line. We're probably just taking its effect too far. And to PhilRod: standards are irrelevant. 

Comment 10 Allan Sandfeld 2005-12-11 20:45:48 UTC
I think the problem is that we for some reason do not break after </nobr> and before the next <nobr> tag. 

Possibly because there is no whitespace there. I bet if you add a regular space after </nobr> it will break. 
Comment 11 Robert Body 2005-12-11 21:55:57 UTC
Allan, I have a Newline after </nobr>
yes it's not a space, but there doesn't need to be anything after, something 
like this should be fine too (I mean, the browser should behave correctly 
with the following without spaces):

<nobr>something</nobr><nobr>something</nobr><nobr>something</nobr><nobr>something</nobr><nobr>something</nobr>

This problem is with Konqueror 3.5 as well, a tiny bit different, but pretty 
much one straight line where it should be wrapping.

-Robert

[bugs.kde.org quoted mail]
Comment 12 FiNeX 2008-04-07 01:22:45 UTC
Just tested the page with konqueror 3.5.8, 4.0.3 and firefox 2.0.0.12. Them render the page in the same way.
Comment 13 FiNeX 2008-05-05 12:26:58 UTC
It works even on 3.5.9