(*** This bug was imported into bugs.kde.org ***) Package: khtml Version: 3.0.1 (using KDE 3.0.1 ) Severity: normal Installed from: Mandrake RPMs Compiler: gcc 3.1 OS: Linux OS/Compiler notes: Not Specified RULE and FRAME (html 4.01) attributes in the table element are not processed correctly. <table frame="hsides" rules="none"> <tr><td>1</td><td>2</td></tr></table> should produce this: --------- 1 1 --------- but actually produces this --------- | 1 | 2 | --------- Could this please be fixed (Submitted via bugs.kde.org)
*** Bug 47412 has been marked as a duplicate of this bug. ***
Bug is not a konqueror bug, but a qt3/kde3.1.x/Xft bug. A workaround to the problem was to add the following to my ~/.xtconfig file: - match any family == "Misc Console" edit family += "Courier New [Monotype]"; match any family == "Misc Fixed" edit family += "Fixed [Misc]"; I.e. all affected fonts are replaced with fonts that work !
rules="none" seems to work with 3.2
Yes please add this support to Konqueror !!!!! It will be great. Thanks, Franck
I also have <table border="1" cellspacing="0" cellpadding="2" rules="rows" frame="void"> tag, which doesn't work in KDE 3.3.0, QT 3.3.3.!
Any real world sites that use these attributes? And what is the status of other browsers support?
Links support them. Opera too. But why should other browsers support this ? It is in the HTML specifications and it must be implemented or you have to remove "HTML 4.01 compliance" from the about page :) Rules and frame are semantically very important. Please, implement them !!!!! Thanks :)
Created attachment 10171 [details] Patch This patch implements FRAME, but only Void and All for RULES. Seems that html_tableimpl.cpp could use a lot of cleaning though.
*** Bug 64457 has been marked as a duplicate of this bug. ***
*** Bug 109855 has been marked as a duplicate of this bug. ***
Actually I've committed the FRAME implementation for KDE 3.5. Now only the most complicated RULE attributes needs to be solved. Besides it is a parsing issue. The RULE should be converted to some form of CSS. The problem is that cells draw the borders. To support it we need to make it possible for table-sections and table-rows to draw borders instead.
Seems to be fixed. Svn r557k
I might seem that way, but many HTML 4.01 values for RULE are still not supported.
Tommi, I'm looking at my example from the original bug report using Konqueror 3.5.2. It is not fixed in that version--the problem is exactly as I described. Are you aware of a very recent change to the sources that would have fixed this? Please look again at the example using Konqueror 3.5.2 or earlier. Unless you can verify that you see the bug in an older version, but not in the latest bleeding-edge SVN, I will re-open this bug report.
re:comment #14: it got reopened already, by the developer who did FRAME, but didn't yet do RULE.
SVN commit 735222 by ggarand: finish support of HTML 4.01's RULES attribute in TABLE - add CSS style rules for rows/cols/groups/all - replace previous logic with pure css. BUG: 43594 M +111 -0 css/html4.css M +0 -25 html/html_tableimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=735222