[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: Bug#45792: khtml moves last character of the word to the next line
From: Eugene Onischenko <oneugene () ukr ! net>
Date: 2002-07-26 14:07:49
[Download RAW message or body]
Fri 26 July 2002 16:09, Vadim Plessky wrote:
> On Friday 26 July 2002 3:50 pm, oneugene@ukr.net wrote:
> | Package: khtml
> | Version: 4.0 (using KDE 3.0.2 )
> | Severity: normal
> | Installed from: Mandrake Linux Cooker i686 - Cooker
>
> Hi,
>
> May I ask you: waht do you expect from the table with cell width of 1%?
> Even at 1024x768 resolution, it's 10pixels-wide cell, and there is no way
> to insert word ('aword') in such cell!
>
It's an example only.
I tried to say that khtml inserts line break before _last_ (why it is not
first, second, or every character of the word?) character when a word is
lager then cell. The same error occurs if cell width is 50px:
<td style="width:50px">aword</td> | everything is fine
<td style="width:50px"> | everything is fine with normal font size,
aword | but if "Increace Font" was pressed
</td> | last character goes to next line
> Slightly modified example renders correctly both in Mozilla and in
> Konqueror.
>
> <HTML>
> <HEAD>
> <title>Test - word wrap in tables</title>
> </HEAD>
> <BODY bgcolor="#ffffff" text="#000000">
> <table border="1" width="100%">
> <tr>
> <td>Name</td>
> <td width="10%">
> aword
> </td>
> </tr>
> </table>
> </BODY>
> </HTML>
>
> Until you defineed table's width (as %% of parent element, or as, say,
> 300px) - you can't claim that table (cell) is *too wide* or *too narrow*.
> And, BTW, I recommend you to use CSS, not HTML attributes (like in your
> example), to define table & cell widths.
>
> | I have the next html code:
> | <HTML>
> | <HEAD>
> | <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> | </HEAD>
> | <BODY bgcolor="#ffffff" text="#000000">
> | <table border="1">
> | <tr>
> | <td>Name</td>
> | <td width="1%">
> | aword
> | </td>
> | </tr>
> | </table>
> | </BODY>
> | </HTML>
> |
> | khtml draws text "aword" in two lines
> | awor
> | d
> |
> | if border attribute in <table> is 0 than everything is ok.
> |
> | (Complete bug history is available at
> | http://bugs.kde.org/db/45/45792.html)
> | _______________________________________________
> | Konq-bugs mailing list
> | Konq-bugs@mail.kde.org
> | http://mail.kde.org/mailman/listinfo/konq-bugs
>
> Regards,
--
Best regards,
person: Eugene Onischenko
(Complete bug history is available at http://bugs.kde.org/db/45/45792.html)
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic