Bug 40116 - [test case] <col adjust="right"> doesn't align right
Summary: [test case] <col adjust="right"> doesn't align right
Status: REOPENED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 4.5.4
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-04 06:18 UTC by Unknown
Modified: 2021-03-21 00:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (530 bytes, text/html)
2003-06-14 02:37 UTC, Kai Lahmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description =?Iso-8859-1?Q?J=Fcrgen_pfennig?= 2002-04-04 06:22:42 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: Konqueror
Version: 3.0.3 RC3

Bug: <col adjust=3D"right"> does not work at all.

Example:
   <TABLE id=3D"Table1" cellSpacing=3D"0" cellPadding=3D"0" border=3D"0">
<col width=3D"14">
<col width=3D"14">
<col width=3D"14">
<col align=3D"right">
<col width=3D"150">
<col width=3D"100" align=3D"right">
<col>
<TBODY>
<Tr>
<Th></Th>
<Th></Th>
<Th></Th>
<Th style=3D"padding-left: 3px; padding-right: 3px">DirNr</Th>
<Th style=3D"padding-left: 3px; padding-right: 3px">Name</Th>
<Th style=3D"padding-left: 3px; padding-right: 3px">Provision</Th>
<Th style=3D"padding-left: 3px; padding-right: 3px">Ed-Konto</Th>
</Tr>
</TBODY>
   </TABLE>

In the above example the 4rth and last columns should be right aligned
but are not.

Yours J=FCrgen Pfennig
Comment 1 Dirk Mueller 2002-10-19 16:00:35 UTC
Subject: kdelibs/khtml/rendering

CVS commit by mueller: 

- treat <table width=0> as variable, usual Navigator quirk
CCMAIL: 49148-done@bugs.kde.org
- accept fixed width constraints on col elements. 
CCMAIL: 40116-done@bugs.kde.org

  M  +1 -1     render_table.cpp   1.207
  M  +6 -8     table_layout.cpp   1.19

Comment 2 Dirk Mueller 2003-01-09 03:28:41 UTC
right aligning still doesn't work.  
Comment 3 Kai Lahmann 2003-06-14 02:37:51 UTC
Created attachment 1790 [details]
testcase

bug still exists. The columns ending with * should be right aligned..
Comment 4 Maksim Orlovich 2003-06-14 02:49:21 UTC
Well, if DIrk Mueller says that something doesn't work, it certainly doesn't :-) 
 
Comment 5 Sashmit Bhaduri 2003-09-11 18:54:19 UTC
Hmm. Gecko (Moz 1.4) and KHTML (3.1a1) seem to render it pretty much the same
now. It's right aligned in both.
Comment 6 Sashmit Bhaduri 2003-09-11 18:55:12 UTC
Actually, it's middle aligned in both :(
Comment 7 Stephan Kulow 2003-10-31 16:05:05 UTC
hmm, moz rendering the same is strange indeed. Anyway, IE renders it right aligned
Comment 8 Stephan Kulow 2004-05-25 08:56:04 UTC
Replaced jpfennig@auxilio.de with null@kde.org due to bounces by reporter
Comment 9 George Goldberg 2007-12-17 05:52:59 UTC
Is this bug still present in a recent version of KDE, such as 3.5.8 or KDE 4 RC2?
Comment 10 George Goldberg 2008-01-30 02:55:25 UTC
Closing due to no response by reporters. Please reopen if this bug still exists in a recent version of KDE, such as 4.0.0 or 3.5.8.
Comment 11 George Goldberg 2008-01-30 02:58:26 UTC
SOrry, shouldn't have closed this bug as its in KDE4
Comment 12 Christophe Marin 2008-04-06 04:01:13 UTC
Tested with konqueror 4 (kdelibs rev. 793966). The bug is still there : the text is centered in Konqueror and Firefox while it is right aligned in Opera and IE.

Screenshot : 
http://img514.imageshack.us/img514/1087/40116ve7.png
Comment 13 Zayed Al-Saidi 2008-10-17 13:23:14 UTC
I tested this bug in kde 4.1.2 and I get same result as in comment #12.
Comment 14 Samuel Brack 2010-12-31 17:12:18 UTC
The alignment still doesn't work, so I update to version 4.5.4.
Comment 15 Justin Zobel 2021-03-21 00:25:33 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.