Summary: | [test case] colspan=0 and rowspan=0 is not treated correctly | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | dath |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cl, grundleborg, jpalecek, kde, kjelderg |
Priority: | NOR | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
colspan="0" doesn't work in strict mode in konqueror
rowspan="0" and colspan="0" test case |
Description
dath
2002-04-15 20:14:54 UTC
renders exactly like IE and mozilla Created attachment 8333 [details]
colspan="0" doesn't work in strict mode in konqueror
Same file, but with a strict Doctype
Created attachment 8334 [details]
rowspan="0" and colspan="0" test case
Should look like:
________
|________|
| |__|__|
| |__|__|
|__|__|__|
Could this please be reopened? I am on ubuntu's 3.5.1 release and am still noticing this incorrect non-standard ( http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6 ) behaviour. The bottom test case here is an excellent example of the problem. This bug is the same as http://bugs.kde.org/show_bug.cgi?id=120215 , it appears. It would be nice if our wonderful khtml would render this properly. oh, I guess I can reopen this. I hope I'm not stepping on any toes by doing it. I'm marking 120215 a dup of this... *** Bug 120215 has been marked as a duplicate of this bug. *** I agree, this is still a problem. I tried the above attachment (id=8334) in Firefox 1.0.7 and it worked just fine, but in Konqueror 3.5.0 on FC4 it still is broken, not taking up all columns in the top row. I am letting the bug stay, but for me this is a WONTFIX issue. I've fixed another bug where we didn't handle colspan=0 exactly like Firefox and MSIE. Now we do, but it is nothing like the W3C standard, only the de-facto standard. If you open the examples posted in comments #2 and #3 in Konqueror and essentially anything else (firefox, ie, opera), you will see that the only one that is different is Konqueror. This de-facto standard does not exist, and the W3C agrees with them. Take a look at Opera rendering again, only rowspan=0 is handled. Firefox seems to have changed handling of colspan=0 recently unless my memory is playing tricks on me. On Thu, 27 Sep 2007 22:26:37 +0200, Allan Sandfeld <kde@carewolf.com> wrote: > Take a look at Opera rendering again, only rowspan=0 is handled. > > Firefox seems to have changed handling of colspan=0 recently unless my > memory is playing tricks on me. Had or had it not played tricks, the the html standard says this: colspan = number [CN] This attribute specifies the number of columns spanned by the current cell. The default value of this attribute is one ("1"). The value zero ("0") means that the cell spans all columns from the current column to the last column of the column group (COLGROUP) in which the cell is defined. What do you want more? Besides being in the standard it has to be safe to implement as well. This seems safe since Firefox can live with it, so we only loose a little compability with MSIE who we match right now. bug still present in svn trunk r793457 using testcase from comment #3 SVN commit 963656 by clicea: Finally respect the span = 0 properly as described by the HTML4.01 standard. Closing a bug from 2002!. BUG:41063 M +4 -4 html/html_tableimpl.cpp M +155 -34 rendering/render_table.cpp M +8 -0 rendering/render_table.h WebSVN link: http://websvn.kde.org/?view=rev&revision=963656 |